| Package | Description |
|---|---|
| org.opends.server.tools.upgrade |
Defines the specific classes that are used by the upgrade tool.
|
| Modifier and Type | Method and Description |
|---|---|
static UpgradeTask |
UpgradeTasks.addConfigEntry(LocalizableMessage summary,
String... ldif)
Returns a new upgrade task which adds a config entry to the underlying
config file.
|
static UpgradeTask |
UpgradeTasks.addConfigFile(String fileName)
This task copies the file placed in parameter within the config folder.
|
static UpgradeTask |
UpgradeTasks.copySchemaFile(String fileName)
This task copies the file placed in parameter within the config / schema
folder.
|
static UpgradeTask |
UpgradeTasks.deleteConfigEntry(LocalizableMessage summary,
String... dnsInLDIF)
Returns a new upgrade task which deletes a config entry from the underlying config file.
|
static UpgradeTask |
UpgradeTasks.deleteFile(File file)
Removes the specified file from the file-system.
|
static UpgradeTask |
UpgradeTasks.migrateLocalDBBackendsToJEBackends()
Creates an upgrade task which is responsible for preparing local-db backend JE databases for a full rebuild once
they have been converted to pluggable JE backends.
|
static UpgradeTask |
UpgradeTasks.modifyConfigEntry(LocalizableMessage summary,
String filter,
String... ldif)
Returns a new upgrade task which applies an LDIF record to all
configuration entries matching the provided filter.
|
static UpgradeTask |
UpgradeTasks.newAttributeTypes(LocalizableMessage summary,
String fileName,
String... attributeOids)
This task adds or updates an attribute type (must exist in the original file)
to the file specified in
fileName. |
static UpgradeTask |
UpgradeTasks.newObjectClasses(LocalizableMessage summary,
String fileName,
String... objectClassesOids)
This task adds or updates an object class (must exist in the original file)
to the file specified in
fileName. |
static UpgradeTask |
UpgradeTasks.postUpgradeRebuildIndexes()
This task is processed at the end of the upgrade, rebuilding indexes.
|
static UpgradeTask |
UpgradeTasks.rebuildAllIndexes(LocalizableMessage summary)
Creates a rebuild all indexes task.
|
static UpgradeTask |
UpgradeTasks.rebuildIndexesNamed(LocalizableMessage summary,
String... indexNames)
Creates a rebuild index task for a given single index.
|
static UpgradeTask |
UpgradeTasks.regressionInVersion(String versionString,
UpgradeTask... tasks)
Creates a group of tasks which will only be invoked if the current version
is more recent than the provided version.
|
static UpgradeTask |
UpgradeTasks.renameSnmpSecurityConfig(LocalizableMessage summary)
Renames the SNMP security config file if it exists.
|
static UpgradeTask |
UpgradeTasks.rerunJavaPropertiesTool(LocalizableMessage summary)
Re-run the dsjavaproperties tool to rewrite the set-java-home script/batch file.
|
static UpgradeTask |
UpgradeTasks.updateConfigUpgradeFolder()
Creates a file object representing config/upgrade/schema.ldif.current which
the server creates the first time it starts if there are schema
customizations.
|
| Modifier and Type | Method and Description |
|---|---|
static UpgradeTask |
UpgradeTasks.regressionInVersion(String versionString,
UpgradeTask... tasks)
Creates a group of tasks which will only be invoked if the current version
is more recent than the provided version.
|
Copyright © 2010-2018 ForgeRock AS. All Rights Reserved.