|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.di.config.base.BaseConfigurationImpl
com.ibm.di.config.base.SimulationConfigImpl
public class SimulationConfigImpl
This class is used to configure the AssemblyLine's simulation mode.
| Field Summary |
|---|
| Fields inherited from class com.ibm.di.config.base.BaseConfigurationImpl |
|---|
NAME |
| Fields inherited from interface com.ibm.di.config.interfaces.BaseConfiguration |
|---|
CHILD_PATH_SEPARATOR, DISABLE_EXTPROPS, DISABLE_INHERITANCE, INHERIT_NONE, INHERIT_PARENT, ONE_LEVEL, RECURSIVE, RECURSIVE_ONELEVEL, RECURSIVE_SUBTREE, SEARCH_EXACTCASE, SEARCH_ONELEVEL, SEARCH_PARAMNAME, SEARCH_PARAMNAME_RE, SEARCH_PROPERTY, SEARCH_REGEX, SEARCH_SUBSTRING, SUBTREE |
| Constructor Summary | |
|---|---|
SimulationConfigImpl()
|
|
SimulationConfigImpl(Object config)
|
|
| Method Summary | |
|---|---|
AssemblyLineConfig |
createOrUpdateProxyAL()
This method checks the current simulation config settings and uses the ProxyAL setting to lookup the ProxyAL's AssibmlyLineConfig object. |
String |
getComponentSimState(String name)
Returns the state of the specified by the name parameter Component |
HookConfig |
getHook(String name)
Return the simulation hook config object for the specified by name component |
String |
getProxyALConfigInstance()
Returns the configInstance ID |
boolean |
getProxyALDebug()
Gets the debug flag state |
int |
getProxyALMode()
Gets the mode the proxy AL will run in 0 - Run and wait for result 1 - Run in background 2 - Run in Manual mode |
String |
getProxyALName()
Returns the name of the AL set as a proxy. |
String |
getProxyALServer()
Returns the name of the remote server. |
BaseConfiguration |
getProxySettings()
Gets the proxySettings Config holder |
void |
init()
Called after internal data structure is set. |
void |
setComponentSimState(String name,
String state)
Set the state of the Component specified by the name parameter |
void |
setProxyALConfigInstance(String config)
Sets the ID of the configInstance to use |
void |
setProxyALDebug(boolean debug)
Sets proxy AL debug flag on/off |
void |
setProxyALMode(int mode)
Sets the mode the proxy AL will run in 0 - Run and wait for result 1 - Run in background 2 - Run in Manual mode |
void |
setProxyALName(String name)
Sets the name of the AL to use as proxy. |
void |
setProxyALServer(String server)
Sets the remote server host name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SimulationConfigImpl()
public SimulationConfigImpl(Object config)
| Method Detail |
|---|
public void init()
throws Exception
BaseConfigurationImpl
init in interface BaseConfigurationinit in class BaseConfigurationImplException - if the initialization fails.public String getComponentSimState(String name)
SimulationConfig
getComponentSimState in interface SimulationConfigname - The name of the component
public HookConfig getHook(String name)
SimulationConfigname component
getHook in interface SimulationConfigname - The name of the component which hook configuration to get
public String getProxyALName()
SimulationConfig
getProxyALName in interface SimulationConfig
public void setComponentSimState(String name,
String state)
SimulationConfig
setComponentSimState in interface SimulationConfigname - The name of the Componentstate - The new state of the Componentpublic void setProxyALName(String name)
SimulationConfig
setProxyALName in interface SimulationConfigname - The name of the ALpublic String getProxyALConfigInstance()
SimulationConfig
getProxyALConfigInstance in interface SimulationConfigpublic String getProxyALServer()
SimulationConfig
getProxyALServer in interface SimulationConfigpublic void setProxyALConfigInstance(String config)
SimulationConfig
setProxyALConfigInstance in interface SimulationConfigconfig - The ID of the ConfigInstancepublic void setProxyALServer(String server)
SimulationConfig
setProxyALServer in interface SimulationConfigserver - The name of the serverpublic int getProxyALMode()
SimulationConfig
getProxyALMode in interface SimulationConfigpublic void setProxyALMode(int mode)
SimulationConfig
setProxyALMode in interface SimulationConfigmode - The mode the AL will run inpublic boolean getProxyALDebug()
SimulationConfig
getProxyALDebug in interface SimulationConfigpublic void setProxyALDebug(boolean debug)
SimulationConfig
setProxyALDebug in interface SimulationConfigdebug - The new value of the debug flag
public BaseConfiguration getProxySettings()
throws Exception
SimulationConfig
getProxySettings in interface SimulationConfigException
public AssemblyLineConfig createOrUpdateProxyAL()
throws Exception
SimulationConfigBranchingConfig components. Any of the existing component in the
AssemblyLineConfig that are user defined are not changed. If that object
could not be found during the lookup process it is created.
createOrUpdateProxyAL in interface SimulationConfigException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||