|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AssemblyLineConfig
The configuration for an AssemblyLine.
Field Summary | |
---|---|
static java.lang.String |
INPUT_MAP_NAME
The name of the input map |
static java.lang.String |
OUTPUT_MAP_NAME
The name of the output map |
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 |
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 |
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()
Returns the Checkpoint info object |
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. in TDI 7.0 |
ContainerConfig |
getComponents()
Deprecated. in TDI 7.0 |
ConnectorConfig |
getConnector(int position)
Returns the connector attribute of the AssemblyLineConfig object |
ConnectorConfig |
getConnectorByName(java.lang.Object name)
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 AssemblyLine (default false) |
boolean |
getDebug(boolean defval)
Returns the debug flag for the AssemblyLine |
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 |
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 |
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 name,
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 AssemblyLine |
void |
setSettings(BaseConfiguration settings)
Sets the AssemblyLine Settings of the AssemblyLineConfig |
Methods inherited from interface com.ibm.di.config.interfaces.OperationsConfig |
---|
createOperation, getOperation, getOperations, getPublishedInitParams, setPublishedInitParams |
Field Detail |
---|
static final java.lang.String INPUT_MAP_NAME
static final java.lang.String OUTPUT_MAP_NAME
Method Detail |
---|
int getConnectorCount()
ConnectorConfig getConnectorByName(java.lang.Object name) throws java.lang.Exception
name
- the name of the Connector for which to return the Connector
configuration object
java.lang.Exception
- if error occurs while retrieving the configuration object.ConnectorConfig getConnector(int position) throws java.lang.Exception
position
- Connector position
java.lang.Exception
- if error occurs while retrieving the configuration object.@Deprecated int getComponentCount()
@Deprecated ContainerConfig getComponents()
@Deprecated BaseConfiguration getComponentByName(java.lang.String name) throws java.lang.Exception
name
- The name of the component to get.
java.lang.Exception
- never@Deprecated BaseConfiguration getComponent(int position) throws java.lang.Exception
position
- component position
java.lang.Exception
- never@Deprecated void removeComponent(int position) throws java.lang.Exception
position
- component position
java.lang.Exception
- nevervoid removeComponent(BaseConfiguration component) throws java.lang.Exception
component
- component config
java.lang.Exception
- if error removing the component occurs.@Deprecated void insertComponent(BaseConfiguration connector, int position) throws java.lang.Exception
connector
- The component configuration object to addposition
- The position of the connector or -1 to add the connector to
the end
java.lang.Exception
- never@Deprecated boolean moveComponent(int position, boolean up)
position
- Current connector positionup
- Up (true) or down (false)
void renameComponent(java.lang.String name, java.lang.String newName) throws java.lang.Exception
name
- 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.HooksConfig getHooks()
HookConfig getHook(java.lang.String name)
name
- The name of the hook
BaseConfiguration getSettings()
void setSettings(BaseConfiguration settings)
settings
- The new settings value@Deprecated CallConfig getTaskInputParameters()
@Deprecated CallConfig getTaskOutputParameters()
SchemaConfig getSchema(boolean input)
input
- if true, returns the input schema
SchemaConfig getSchema(java.lang.String name)
name
- the name of the schema config to retrieve
AttributeMapConfig getAttributeMap(boolean input)
input
- if true, returns the input attribute map
AttributeMapConfig getAttributeMap(java.lang.String name)
name
- the name of the attribute map config to retrieve
boolean getDebug()
getDebug
in interface BaseConfiguration
boolean getDebug(boolean defval)
getDebug
in interface BaseConfiguration
defval
- The default value
void setDebug(boolean debug)
setDebug
in interface BaseConfiguration
debug
- The new debug valueboolean autoMapAllAttributes(java.lang.Object connectorName) throws java.lang.Exception
connectorName
- The name of an AssemblyLine Component
java.lang.Exception
- if the check does not succeedCheckpointConfig getCheckpointConfig()
SandboxConfig getSandboxConfig()
LogConfig getLogConfig()
PropertyConfig getThreadOptions() throws java.lang.Exception
java.lang.Exception
- if the options could not be retrieved.ContainerConfig getEntryFeedComponents()
ContainerConfig getDataFlowComponents()
boolean containsComponent(java.lang.String name)
name
- The name of the config
BaseConfiguration getComponent(java.lang.String name)
name
- The name of the config
ContainerConfig addComponent(BaseConfiguration config)
config
- The configuration object
void removeComponent(java.lang.String name)
name
- The name of the component to remove.SimulationConfig getSimulationConfig() throws java.lang.Exception
java.lang.Exception
- if an error occurs while initializing the simulation config
for the first time.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |