|
||||||||||
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 |
Constructor Summary | |
---|---|
AssemblyLineConfigImpl()
Constructor for the AssemblyLineConfigImpl object. |
|
AssemblyLineConfigImpl(java.lang.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(java.lang.Object connectorName)
Returns the automap flag for the AssemblyLine |
boolean |
containsComponent(java.lang.String name)
Returns true if there is component (data flow or entry feed) named name |
OperationConfig |
createOperation(java.lang.String name)
This method creates a new operation object. |
AttributeMapConfig |
getAttributeMap(boolean input)
Returns the AssemblyLine's attribute map |
AttributeMapConfig |
getAttributeMap(java.lang.String name)
Returns the AssemblyLine's attribute map by name ("Input"/"Output") |
CheckpointConfig |
getCheckpointConfig()
Deprecated. |
java.lang.Object |
getClone()
Return self clone |
BaseConfiguration |
getComponent(int position)
Deprecated. in TDI 7.0 |
BaseConfiguration |
getComponent(java.lang.String name)
Returns the component configuration |
BaseConfiguration |
getComponentByName(java.lang.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(java.lang.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(java.lang.String name)
Returns a specific HookConfig |
HooksConfig |
getHooks()
Returns the AssemblyLine's HooksConfig |
LogConfig |
getLogConfig()
Returns the LogConfig object |
OperationConfig |
getOperation(java.lang.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(java.lang.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(java.lang.String name)
This method removes a named component configuration object |
void |
renameComponent(java.lang.String oldName,
java.lang.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(java.lang.Object config)
config
- the config object containing initial dataMethod Detail |
---|
public void init() throws java.lang.Exception
init
in interface BaseConfiguration
init
in class BaseConfigurationImpl
java.lang.Exception
- An exception is thrown if this method fails.public int getConnectorCount()
getConnectorCount
in interface AssemblyLineConfig
public ConnectorConfig getConnector(int position)
getConnector
in interface AssemblyLineConfig
position
- Connector position
public ConnectorConfig getConnectorByName(java.lang.Object connectorName)
getConnectorByName
in interface AssemblyLineConfig
connectorName
- the name of the Connector for which to return the Connector
configuration object
public HookConfig getHook(java.lang.String name)
getHook
in interface AssemblyLineConfig
name
- The name of the hook
public HooksConfig getHooks()
getHooks
in interface AssemblyLineConfig
public BaseConfiguration getSettings()
getSettings
in interface AssemblyLineConfig
public void setSettings(BaseConfiguration settings)
setSettings
in interface AssemblyLineConfig
settings
- The new settings value@Deprecated public CallConfig getTaskInputParameters()
getTaskInputParameters
in interface AssemblyLineConfig
@Deprecated public CallConfig getTaskOutputParameters()
getTaskOutputParameters
in interface AssemblyLineConfig
public CheckpointConfig getCheckpointConfig()
getCheckpointConfig
in interface AssemblyLineConfig
public SandboxConfig getSandboxConfig()
getSandboxConfig
in interface AssemblyLineConfig
public LogConfig getLogConfig()
getLogConfig
in interface AssemblyLineConfig
public boolean getDebug()
getDebug
in interface AssemblyLineConfig
getDebug
in interface BaseConfiguration
getDebug
in class BaseConfigurationImpl
public boolean getDebug(boolean defval)
getDebug
in interface AssemblyLineConfig
getDebug
in interface BaseConfiguration
getDebug
in class BaseConfigurationImpl
defval
- The value to be returned, if the debug parameter cannot be
found
public void setDebug(boolean debug)
setDebug
in interface AssemblyLineConfig
setDebug
in interface BaseConfiguration
setDebug
in class BaseConfigurationImpl
debug
- The new debug valuepublic boolean autoMapAllAttributes(java.lang.Object connectorName) throws java.lang.Exception
autoMapAllAttributes
in interface AssemblyLineConfig
connectorName
- The name of an AssemblyLine Component
java.lang.Exception
- if the check does not succeedpublic java.lang.Object getClone() throws java.lang.Exception
getClone
in interface BaseConfiguration
getClone
in class BaseConfigurationImpl
java.lang.Exception
- An exception is thrown if this method fails.public PropertyConfig getThreadOptions()
getThreadOptions
in interface AssemblyLineConfig
public SchemaConfig getSchema(boolean input)
getSchema
in interface AssemblyLineConfig
input
- if true, returns the input schema
public SchemaConfig getSchema(java.lang.String name)
getSchema
in interface AssemblyLineConfig
name
- the name of the schema config to retrieve
public AttributeMapConfig getAttributeMap(boolean input)
getAttributeMap
in interface AssemblyLineConfig
input
- if true, returns the input attribute map
public AttributeMapConfig getAttributeMap(java.lang.String name)
getAttributeMap
in interface AssemblyLineConfig
name
- the name of the attribute map config to retrieve
@Deprecated public ContainerConfig getComponents()
AssemblyLineConfig
getComponents
in interface AssemblyLineConfig
null
@Deprecated public int getComponentCount()
AssemblyLineConfig
getComponentCount
in interface AssemblyLineConfig
0
@Deprecated public BaseConfiguration getComponentByName(java.lang.String name)
AssemblyLineConfig
getComponentByName
in interface AssemblyLineConfig
name
-
null
@Deprecated public BaseConfiguration getComponent(int position)
AssemblyLineConfig
getComponent
in interface AssemblyLineConfig
position
-
null
@Deprecated public void removeComponent(int position)
removeComponent
in interface AssemblyLineConfig
position
- @Deprecated public void insertComponent(BaseConfiguration connector, int position)
insertComponent
in interface AssemblyLineConfig
connector
- position
- @Deprecated public boolean moveComponent(int position, boolean up)
AssemblyLineConfig
moveComponent
in interface AssemblyLineConfig
position
- up
-
public void renameComponent(java.lang.String oldName, java.lang.String newName) throws java.lang.Exception
renameComponent
in interface AssemblyLineConfig
oldName
- The current namenewName
- .New local name
java.lang.Exception
- if the provided name is invalid or there is already a
component with the specified name.public ContainerConfig getEntryFeedComponents()
getEntryFeedComponents
in interface AssemblyLineConfig
public ContainerConfig getDataFlowComponents()
getDataFlowComponents
in interface AssemblyLineConfig
public boolean containsComponent(java.lang.String name)
containsComponent
in interface AssemblyLineConfig
name
- The name of the config
public BaseConfiguration getComponent(java.lang.String name)
getComponent
in interface AssemblyLineConfig
name
- The name of the config
public ContainerConfig addComponent(BaseConfiguration config)
addComponent
in interface AssemblyLineConfig
config
- The configuration object
public void removeComponent(java.lang.String name)
removeComponent
in interface AssemblyLineConfig
name
- The name of the component to remove.public void removeComponent(BaseConfiguration component)
removeComponent
in interface AssemblyLineConfig
component
- component configpublic ContainerConfig getOperations()
getOperations
in interface OperationsConfig
ContainerConfig
objectpublic OperationConfig getOperation(java.lang.String name)
getOperation
in interface OperationsConfig
name
-
OperationConfig
objectpublic OperationConfig createOperation(java.lang.String name) throws java.lang.Exception
createOperation
in interface OperationsConfig
name
-
OperationConfig
object
java.lang.Exception
public SchemaConfig getPublishedInitParams()
getPublishedInitParams
in interface OperationsConfig
public void setPublishedInitParams(SchemaConfig schema) throws java.lang.Exception
setPublishedInitParams
in interface OperationsConfig
schema
- The new schema
java.lang.Exception
public void setupInheritanceChain() throws java.lang.Exception
setupInheritanceChain
in interface BaseConfiguration
setupInheritanceChain
in class BaseConfigurationImpl
java.lang.Exception
- if the operation could not be performedpublic SimulationConfig getSimulationConfig() throws java.lang.Exception
getSimulationConfig
in interface AssemblyLineConfig
java.lang.Exception
- if an error occurs while initializing the simulation config
for the first time.public void initSimulationConfig() throws java.lang.Exception
java.lang.Exception
- if the initialization fails
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |