|
|||||||||||
| 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.AssemblyLineConfigImpl
public class AssemblyLineConfigImpl
The implementation class for the configuration of an AssemblyLine.
| Field Summary |
|---|
| Fields inherited from class com.ibm.di.config.base.BaseConfigurationImpl |
|---|
NAME |
| Fields inherited from interface com.ibm.di.config.interfaces.AssemblyLineConfig |
|---|
INPUT_MAP_NAME, OUTPUT_MAP_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 | |
|---|---|
AssemblyLineConfigImpl()
Constructor for the AssemblyLineConfigImpl object. |
|
AssemblyLineConfigImpl(Object config)
Constructor providing a TreeMap of attribute/value pairs. |
|
| Method Summary | |
|---|---|
ContainerConfig |
addComponent(BaseConfiguration config)
This method adds a component configuration object to the correct component container |
boolean |
autoMapAllAttributes(Object connectorName)
Returns the automap flag for the AssemblyLine |
boolean |
containsComponent(String name)
Returns true if there is component (data flow or entry feed) named name |
OperationConfig |
createOperation(String name)
This method creates a new operation object. |
AttributeMapConfig |
getAttributeMap(boolean input)
Returns the AssemblyLine's attribute map |
AttributeMapConfig |
getAttributeMap(String name)
Returns the AssemblyLine's attribute map by name ("Input"/"Output") |
CheckpointConfig |
getCheckpointConfig()
Deprecated. |
Object |
getClone()
Return self clone |
BaseConfiguration |
getComponent(int position)
Deprecated. in TDI 7.0 |
BaseConfiguration |
getComponent(String name)
Returns the component configuration |
BaseConfiguration |
getComponentByName(String name)
Deprecated. in TDI 7.0 |
int |
getComponentCount()
Deprecated. |
ContainerConfig |
getComponents()
Deprecated. in TDI 7.0 |
ConnectorConfig |
getConnector(int position)
Returns the connector attribute of the AssemblyLineConfig object |
ConnectorConfig |
getConnectorByName(Object connectorName)
Returns the connector attribute of the AssemblyLineConfig object |
int |
getConnectorCount()
Returns the number of connectors in the assemblyline |
ContainerConfig |
getDataFlowComponents()
Returns the data flow components container |
boolean |
getDebug()
Returns the debug flag for the object. |
boolean |
getDebug(boolean defval)
Returns the debug flag for the object. |
ContainerConfig |
getEntryFeedComponents()
Returns the entry feed components container |
HookConfig |
getHook(String name)
Returns a specific HookConfig |
HooksConfig |
getHooks()
Returns the AssemblyLine's HooksConfig |
LogConfig |
getLogConfig()
Returns the LogConfig object |
OperationConfig |
getOperation(String name)
This method returns the config for a given operation. |
ContainerConfig |
getOperations()
This method returns a list of supported operations |
SchemaConfig |
getPublishedInitParams()
Returns the Published Initialization Parameter Schema for the AssemblyLine |
SandboxConfig |
getSandboxConfig()
Returns the Sandbox config object |
SchemaConfig |
getSchema(boolean input)
Returns the AssemblyLine's schema |
SchemaConfig |
getSchema(String name)
Returns the AssemblyLine's schema by name ("Input"/"Output") |
BaseConfiguration |
getSettings()
Returns the AssemblyLine Settings |
SimulationConfig |
getSimulationConfig()
Retrieves the Simulation Configuration which corresponds to the AssemblyLine. |
CallConfig |
getTaskInputParameters()
Deprecated. Use getSchema(true) |
CallConfig |
getTaskOutputParameters()
Deprecated. Use getSchema(false) |
PropertyConfig |
getThreadOptions()
Returns the Thread options config in the AssemblyLine configuration |
void |
init()
Preload all connectors |
void |
initSimulationConfig()
Initializes the Simulation config. |
void |
insertComponent(BaseConfiguration connector,
int position)
Deprecated. in TDI 7.0 |
boolean |
moveComponent(int position,
boolean up)
Deprecated. in TDI 7.0 |
void |
removeComponent(BaseConfiguration component)
Removes a component from the assemblyline |
void |
removeComponent(int position)
Deprecated. in TDI 7.0 |
void |
removeComponent(String name)
This method removes a named component configuration object |
void |
renameComponent(String oldName,
String newName)
Changes the local name of a connector (the name used in script engines etc ) |
void |
setDebug(boolean debug)
Sets the debug flag for the object. |
void |
setPublishedInitParams(SchemaConfig schema)
Sets the Published Initialization Parameter Schema for the AssemblyLine |
void |
setSettings(BaseConfiguration settings)
Sets the AssemblyLine Settings of the AssemblyLineConfig |
void |
setupInheritanceChain()
Established the inheritance chain for this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AssemblyLineConfigImpl()
public AssemblyLineConfigImpl(Object config)
config - the config object containing initial data| Method Detail |
|---|
public void init()
throws Exception
init in interface BaseConfigurationinit in class BaseConfigurationImplException - An exception is thrown if this method fails.public int getConnectorCount()
getConnectorCount in interface AssemblyLineConfigpublic ConnectorConfig getConnector(int position)
getConnector in interface AssemblyLineConfigposition - Connector position
public ConnectorConfig getConnectorByName(Object connectorName)
getConnectorByName in interface AssemblyLineConfigconnectorName - the name of the Connector for which to return the Connector
configuration object
public HookConfig getHook(String name)
getHook in interface AssemblyLineConfigname - The name of the hook
public HooksConfig getHooks()
getHooks in interface AssemblyLineConfigpublic BaseConfiguration getSettings()
getSettings in interface AssemblyLineConfigpublic void setSettings(BaseConfiguration settings)
setSettings in interface AssemblyLineConfigsettings - The new settings value@Deprecated public CallConfig getTaskInputParameters()
getTaskInputParameters in interface AssemblyLineConfig@Deprecated public CallConfig getTaskOutputParameters()
getTaskOutputParameters in interface AssemblyLineConfigpublic CheckpointConfig getCheckpointConfig()
getCheckpointConfig in interface AssemblyLineConfigpublic SandboxConfig getSandboxConfig()
getSandboxConfig in interface AssemblyLineConfigpublic LogConfig getLogConfig()
getLogConfig in interface AssemblyLineConfigpublic boolean getDebug()
getDebug in interface AssemblyLineConfiggetDebug in interface BaseConfigurationgetDebug in class BaseConfigurationImplpublic boolean getDebug(boolean defval)
getDebug in interface AssemblyLineConfiggetDebug in interface BaseConfigurationgetDebug in class BaseConfigurationImpldefval - The value to be returned, if the debug parameter cannot be
found
public void setDebug(boolean debug)
setDebug in interface AssemblyLineConfigsetDebug in interface BaseConfigurationsetDebug in class BaseConfigurationImpldebug - The new debug value
public boolean autoMapAllAttributes(Object connectorName)
throws Exception
autoMapAllAttributes in interface AssemblyLineConfigconnectorName - The name of an AssemblyLine Component
Exception - if the check does not succeed
public Object getClone()
throws Exception
getClone in interface BaseConfigurationgetClone in class BaseConfigurationImplException - An exception is thrown if this method fails.public PropertyConfig getThreadOptions()
getThreadOptions in interface AssemblyLineConfigpublic SchemaConfig getSchema(boolean input)
getSchema in interface AssemblyLineConfiginput - if true, returns the input schema
public SchemaConfig getSchema(String name)
getSchema in interface AssemblyLineConfigname - the name of the schema config to retrieve
public AttributeMapConfig getAttributeMap(boolean input)
getAttributeMap in interface AssemblyLineConfiginput - if true, returns the input attribute map
public AttributeMapConfig getAttributeMap(String name)
getAttributeMap in interface AssemblyLineConfigname - the name of the attribute map config to retrieve
@Deprecated public ContainerConfig getComponents()
AssemblyLineConfig
getComponents in interface AssemblyLineConfignull@Deprecated public int getComponentCount()
AssemblyLineConfig
getComponentCount in interface AssemblyLineConfig0@Deprecated public BaseConfiguration getComponentByName(String name)
AssemblyLineConfig
getComponentByName in interface AssemblyLineConfigname -
null@Deprecated public BaseConfiguration getComponent(int position)
AssemblyLineConfig
getComponent in interface AssemblyLineConfigposition -
null@Deprecated public void removeComponent(int position)
removeComponent in interface AssemblyLineConfigposition -
@Deprecated
public void insertComponent(BaseConfiguration connector,
int position)
insertComponent in interface AssemblyLineConfigconnector - position -
@Deprecated
public boolean moveComponent(int position,
boolean up)
AssemblyLineConfig
moveComponent in interface AssemblyLineConfigposition - up -
public void renameComponent(String oldName,
String newName)
throws Exception
renameComponent in interface AssemblyLineConfigoldName - The current namenewName - .New local name
Exception - if the provided name is invalid or there is already a
component with the specified name.public ContainerConfig getEntryFeedComponents()
getEntryFeedComponents in interface AssemblyLineConfigpublic ContainerConfig getDataFlowComponents()
getDataFlowComponents in interface AssemblyLineConfigpublic boolean containsComponent(String name)
containsComponent in interface AssemblyLineConfigname - The name of the config
public BaseConfiguration getComponent(String name)
getComponent in interface AssemblyLineConfigname - The name of the config
public ContainerConfig addComponent(BaseConfiguration config)
addComponent in interface AssemblyLineConfigconfig - The configuration object
public void removeComponent(String name)
removeComponent in interface AssemblyLineConfigname - The name of the component to remove.public void removeComponent(BaseConfiguration component)
removeComponent in interface AssemblyLineConfigcomponent - component configpublic ContainerConfig getOperations()
getOperations in interface OperationsConfigContainerConfig objectpublic OperationConfig getOperation(String name)
getOperation in interface OperationsConfigname -
OperationConfig object
public OperationConfig createOperation(String name)
throws Exception
createOperation in interface OperationsConfigname -
OperationConfig object
Exceptionpublic SchemaConfig getPublishedInitParams()
getPublishedInitParams in interface OperationsConfig
public void setPublishedInitParams(SchemaConfig schema)
throws Exception
setPublishedInitParams in interface OperationsConfigschema - The new schema
Exception
public void setupInheritanceChain()
throws Exception
setupInheritanceChain in interface BaseConfigurationsetupInheritanceChain in class BaseConfigurationImplException - if the operation could not be performed
public SimulationConfig getSimulationConfig()
throws Exception
getSimulationConfig in interface AssemblyLineConfigException - if an error occurs while initializing the simulation config
for the first time.
public void initSimulationConfig()
throws Exception
Exception - if the initialization fails
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||