Oracle Fusion Middleware extensions for Seed Data Framework
11g Release 1 (11.1.2)

E22564-02

oracle.apps.fnd.applseed.orch.util
Class SDFOrchestratorParams

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<java.lang.String,java.lang.String>
          extended by 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 Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>
 
Field Summary
static java.lang.String PARAM_CLASSPATH
           
static java.lang.String PARAM_CONFIG
           
static java.lang.String PARAM_DB_DRIVER
           
static java.lang.String PARAM_DB_PASSWORD
           
static java.lang.String PARAM_DB_URL
           
static java.lang.String PARAM_DB_USER
           
static java.lang.String PARAM_HOMEDIR
           
static java.lang.String PARAM_LOG
           
static java.lang.String PARAM_LOG_LEVEL
           
static java.lang.String PARAM_MAXHANDLERS
           
static java.lang.String PARAM_TASKS
           
 
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
 

Field Detail

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
Method Detail

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 API
args - : 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

Oracle Fusion Middleware extensions for Seed Data Framework
11g Release 1 (11.1.2)

E22564-02

Copyright © 2011 Oracle. All Rights Reserved.