|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.di.migration.BaseMigrationUtility
com.ibm.di.migration.plugin.PluginMigrationUtility
public final class PluginMigrationUtility
This utility is used to migrate the pwsync.props file read by both the native
plugins and the JavaProxy - Proxy.
| Field Summary |
|---|
| Fields inherited from class com.ibm.di.migration.BaseMigrationUtility |
|---|
resHash, SWITCH_HELP, SWITCH_MIG_FILE, SWITCH_MIG_FILE_BAKUP, SWITCH_MIG_FILE_NEW, SWITCH_VERBOSE |
| Constructor Summary | |
|---|---|
PluginMigrationUtility(java.lang.String[] args,
org.apache.log4j.Logger log)
|
|
| Method Summary | |
|---|---|
protected java.util.List<ChangeDescription> |
defineChanges(java.util.Map<java.lang.String,java.lang.String> props)
Defines the changes that will be done over the properties of the source file. |
protected void |
interpretCommandLineOptions()
Called to parse the passed command line arguments. |
static void |
main(java.lang.String[] args)
|
| Methods inherited from class com.ibm.di.migration.BaseMigrationUtility |
|---|
applyChanges, backupFile, getCommandStandaloneValuesList, getCommandValueBySwitch, getLog, isHelpRequested, isSwitch, isVerboseMode, migrateFile, parseArgs, parseFile, parseFile, performPropertyAddition, performPropertyCommenting, performPropertyDeletion, performPropertyModification, performPropertyUncommenting, printHelpInformation, readFile, setLog, validateCommandLineOptions, writeFile |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PluginMigrationUtility(java.lang.String[] args,
org.apache.log4j.Logger log)
args - log - | Method Detail |
|---|
protected void interpretCommandLineOptions()
BaseMigrationUtilityBaseMigrationUtility.SWITCH_HELP, BaseMigrationUtility.SWITCH_MIG_FILE_BAKUP,
BaseMigrationUtility.SWITCH_MIG_FILE_NEW, BaseMigrationUtility.SWITCH_MIG_FILE and
BaseMigrationUtility.SWITCH_VERBOSE
BaseMigrationUtility.SWITCH_HELP is checked first, if it is specified then the
rest of the common switches will not be considered.
interpretCommandLineOptions in class BaseMigrationUtilityprotected java.util.List<ChangeDescription> defineChanges(java.util.Map<java.lang.String,java.lang.String> props)
BaseMigrationUtility
defineChanges in class BaseMigrationUtilityprops - the Map of properties read from the source file.
Note this is an immutable representation of the map.
Map defining the changes that will be done. The keys of
this map represent the names of the properties. The corresponding
values describe the particular changes that should be done done
over the specific property. Must not be nullChangeDescriptionpublic static void main(java.lang.String[] args)
args -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||