Uses of Class
org.opennms.upgrade.api.OnmsUpgradeException
-
Packages that use OnmsUpgradeException Package Description org.opennms.upgrade.api org.opennms.upgrade.implementations org.opennms.upgrade.support -
-
Uses of OnmsUpgradeException in org.opennms.upgrade.api
Methods in org.opennms.upgrade.api that throw OnmsUpgradeException Modifier and Type Method Description void
OnmsUpgrade. execute()
Execute.protected Connection
AbstractOnmsUpgrade. getDbConnection()
Gets the DB connection.protected int[]
AbstractOnmsUpgrade. getInstalledVersion()
protected Properties
AbstractOnmsUpgrade. getMainProperties()
Gets the main properties.protected String
AbstractOnmsUpgrade. getOpennmsVersion()
Gets the currently installed OpenNMS version.protected String
AbstractOnmsUpgrade. getRrdExtension()
Gets the RRD extension.protected Properties
AbstractOnmsUpgrade. getRrdProperties()
Gets the RRD properties.protected String
AbstractOnmsUpgrade. getRrdStrategy()
Gets the RRD strategy.protected void
AbstractOnmsUpgrade. initializeDatasource()
Initializes the data source.protected boolean
AbstractOnmsUpgrade. isInstalledVersion(AbstractOnmsUpgrade.VersionOperator op, int mayor, int minor, int release)
protected boolean
AbstractOnmsUpgrade. isInstalledVersionGreaterOrEqual(int mayor, int minor, int release)
Checks if the installed version of OpenNMS is greater or equals than the supplied version.protected boolean
AbstractOnmsUpgrade. isRrdToolEnabled()
Checks if is RRDtool enabled.protected void
AbstractOnmsUpgrade. loadProperties(Properties properties, String fileName)
Load properties.void
OnmsUpgrade. postExecute()
Post execute.void
OnmsUpgrade. preExecute()
Pre-executeprotected void
AbstractOnmsUpgrade. printFullSettings()
Prints the full settings.protected void
AbstractOnmsUpgrade. printMainSettings()
Prints the settings.void
OnmsUpgrade. rollback()
Rollback.protected void
AbstractOnmsUpgrade. unzipFile(File zipFile, File outputFolder)
UNZIP a file.protected static int
AbstractOnmsUpgrade. versionToInteger(int mayor, int minor, int release)
protected void
AbstractOnmsUpgrade. zipDir(File zipFile, File sourceFolder)
ZIP a directory.protected File
AbstractOnmsUpgrade. zipFile(File sourceFile)
ZIP a file.Constructors in org.opennms.upgrade.api that throw OnmsUpgradeException Constructor Description AbstractOnmsUpgrade()
Instantiates a new abstract OpenNMS upgrade. -
Uses of OnmsUpgradeException in org.opennms.upgrade.implementations
Methods in org.opennms.upgrade.implementations that throw OnmsUpgradeException Modifier and Type Method Description void
DataCollectionConfigMigrator17Offline. execute()
void
DataCollectionConfigMigratorOffline. execute()
void
DiscoveryConfigurationLocationMigratorOffline. execute()
void
DiscoveryConfigurationMigratorOffline. execute()
void
EOLServiceConfigMigratorOffline. execute()
void
EventParameterMigratorOffline. execute()
void
JettyConfigMigratorOffline. execute()
void
JmxRrdMigratorOffline. execute()
void
KscReportsMigrator. execute()
void
MagicUsersMigratorOffline. execute()
void
RemotePollerServiceConfigMigratorOffline. execute()
void
RequisitionsMigratorOffline. execute()
void
ServiceConfig1701MigratorOffline. execute()
void
ServiceConfigMigratorOffline. execute()
void
SnmpInterfaceRrdMigratorOnline. execute()
void
VmwareAssetsMigratorOffline. execute()
protected List<SnmpInterface>
KscReportsMigrator. getInterfacesToMerge()
Gets the interfaces to merge.protected List<SnmpInterfaceUpgrade>
SnmpInterfaceRrdMigratorOnline. getInterfacesToMerge()
Gets the interfaces to merge.void
DiscoveryConfigurationLocationMigratorOffline. postExecute()
void
DiscoveryConfigurationMigratorOffline. postExecute()
void
EOLServiceConfigMigratorOffline. postExecute()
void
EventParameterMigratorOffline. postExecute()
void
JettyConfigMigratorOffline. postExecute()
void
JmxRrdMigratorOffline. postExecute()
void
KscReportsMigrator. postExecute()
void
MagicUsersMigratorOffline. postExecute()
void
RemotePollerServiceConfigMigratorOffline. postExecute()
void
RequisitionsMigratorOffline. postExecute()
void
ServiceConfig1701MigratorOffline. postExecute()
void
ServiceConfigMigratorOffline. postExecute()
void
SnmpInterfaceRrdMigratorOnline. postExecute()
void
VmwareAssetsMigratorOffline. postExecute()
void
DataCollectionConfigMigrator17Offline. preExecute()
void
DataCollectionConfigMigratorOffline. preExecute()
void
DiscoveryConfigurationLocationMigratorOffline. preExecute()
void
DiscoveryConfigurationMigratorOffline. preExecute()
void
EOLServiceConfigMigratorOffline. preExecute()
void
EventParameterMigratorOffline. preExecute()
void
JettyConfigMigratorOffline. preExecute()
void
JmxRrdMigratorOffline. preExecute()
void
KscReportsMigrator. preExecute()
void
MagicUsersMigratorOffline. preExecute()
void
RemotePollerServiceConfigMigratorOffline. preExecute()
void
RequisitionsMigratorOffline. preExecute()
void
ServiceConfig1701MigratorOffline. preExecute()
void
ServiceConfigMigratorOffline. preExecute()
void
SnmpInterfaceRrdMigratorOnline. preExecute()
void
VmwareAssetsMigratorOffline. preExecute()
void
DataCollectionConfigMigrator17Offline. rollback()
void
DataCollectionConfigMigratorOffline. rollback()
void
DiscoveryConfigurationLocationMigratorOffline. rollback()
void
DiscoveryConfigurationMigratorOffline. rollback()
void
EOLServiceConfigMigratorOffline. rollback()
void
EventParameterMigratorOffline. rollback()
void
JettyConfigMigratorOffline. rollback()
void
JmxRrdMigratorOffline. rollback()
void
KscReportsMigrator. rollback()
void
MagicUsersMigratorOffline. rollback()
void
RemotePollerServiceConfigMigratorOffline. rollback()
void
RequisitionsMigratorOffline. rollback()
void
ServiceConfig1701MigratorOffline. rollback()
void
ServiceConfigMigratorOffline. rollback()
void
SnmpInterfaceRrdMigratorOnline. rollback()
void
VmwareAssetsMigratorOffline. rollback()
Constructors in org.opennms.upgrade.implementations that throw OnmsUpgradeException Constructor Description DataCollectionConfigMigrator17Offline()
Instantiates a new data collection configuration migrator for OpenNMS 17 offline.DataCollectionConfigMigratorOffline()
DiscoveryConfigurationLocationMigratorOffline()
DiscoveryConfigurationMigratorOffline()
EOLServiceConfigMigratorOffline()
Instantiates a new Service Configuration migrator offline.EventParameterMigratorOffline()
JettyConfigMigratorOffline()
Instantiates a new Jetty configuration migrator offline.JmxRrdMigratorOffline()
Instantiates a new JMX RRD migrator offline.KscReportsMigrator()
Instantiates a new KSC Reports Migrator.MagicUsersMigratorOffline()
Instantiates a new magic users migrator offline.RemotePollerServiceConfigMigratorOffline()
RequisitionsMigratorOffline()
Instantiates a new requisitions migrator offline.ServiceConfig1701MigratorOffline()
Instantiates a new Service Configuration migrator offline.ServiceConfigMigratorOffline()
Instantiates a new Service Configuration migrator offline.SnmpInterfaceRrdMigratorOnline()
Instantiates a new SNMP interface RRD migrator online.VmwareAssetsMigratorOffline()
-
Uses of OnmsUpgradeException in org.opennms.upgrade.support
Methods in org.opennms.upgrade.support that throw OnmsUpgradeException Modifier and Type Method Description void
Upgrade. execute()
Execute.protected List<OnmsUpgrade>
Upgrade. getUpgradeObjects()
Gets the upgrade objects.UpgradeStatus
Upgrade. getUpgradeStatus()
Gets the upgrade status.static void
Upgrade. main(String[] args)
The main method.protected void
Upgrade. markAsExecuted(OnmsUpgrade upg)
Mark as executed.void
UpgradeStatus. markAsExecuted(OnmsUpgrade upg)
Mark as executed.protected boolean
Upgrade. wasExecuted(OnmsUpgrade upg)
Was executed.Constructors in org.opennms.upgrade.support that throw OnmsUpgradeException Constructor Description UpgradeStatus()
Instantiates a new upgrade status.UpgradeStatus(File statusFile)
Instantiates a new upgrade status.
-