oracle.apps.fnd.applseed.orch.util
Class SDFOrchestratorParams
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<java.lang.String,java.lang.String>
oracle.apps.fnd.applseed.orch.util.SDFOrchestratorParams
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.String,java.lang.String>
public class SDFOrchestratorParams
- extends java.util.HashMap<java.lang.String,java.lang.String>
Class for parsing, validating and storing command line parameters for SDF Orchestrator
- See Also:
- Serialized Form
Nested classes/interfaces inherited from class java.util.AbstractMap |
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V> |
Method Summary |
static SDFOrchestratorParams |
parseParams(boolean bCommandLine,
java.lang.String[] args)
Parses and validates the command line parameters |
java.lang.String |
substituteHomeDir(java.lang.String input)
Substitutes %HOME_DIR% variable in the string with the value of -homedir parameter |
Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from class java.util.AbstractMap |
equals, hashCode, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
equals, hashCode |
PARAM_DB_URL
public static final java.lang.String PARAM_DB_URL
- See Also:
- Constant Field Values
PARAM_DB_USER
public static final java.lang.String PARAM_DB_USER
- See Also:
- Constant Field Values
PARAM_DB_PASSWORD
public static final java.lang.String PARAM_DB_PASSWORD
- See Also:
- Constant Field Values
PARAM_DB_DRIVER
public static final java.lang.String PARAM_DB_DRIVER
- See Also:
- Constant Field Values
PARAM_CLASSPATH
public static final java.lang.String PARAM_CLASSPATH
- See Also:
- Constant Field Values
PARAM_CONFIG
public static final java.lang.String PARAM_CONFIG
- See Also:
- Constant Field Values
PARAM_TASKS
public static final java.lang.String PARAM_TASKS
- See Also:
- Constant Field Values
PARAM_MAXHANDLERS
public static final java.lang.String PARAM_MAXHANDLERS
- See Also:
- Constant Field Values
PARAM_LOG
public static final java.lang.String PARAM_LOG
- See Also:
- Constant Field Values
PARAM_LOG_LEVEL
public static final java.lang.String PARAM_LOG_LEVEL
- See Also:
- Constant Field Values
PARAM_HOMEDIR
public static final java.lang.String PARAM_HOMEDIR
- See Also:
- Constant Field Values
parseParams
public static SDFOrchestratorParams parseParams(boolean bCommandLine,
java.lang.String[] args)
throws SDFOrchestratorParamException
- Parses and validates the command line parameters
- Parameters:
bCommandLine
- : true, if orchestrator was called from the command line, false, if called as java APIargs
- : array of command line parameters
- Returns:
- instance of SDFOrchestratorParams with parameters loaded
- Throws:
SDFOrchestratorParamException
- if parameters were loaded, parsed or validated unsuccessfully
substituteHomeDir
public java.lang.String substituteHomeDir(java.lang.String input)
- Substitutes %HOME_DIR% variable in the string with the value of -homedir parameter
- Parameters:
input
- : string in which the tokens should be substituted
- Returns:
- string where %HOME_DIR% is substituded with the value of -homedir parameter
Copyright © 2011 Oracle. All Rights Reserved.