|
|||||||||||
| 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 String |
INPUT_MAP_NAME
The name of the input map |
static 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(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 |
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()
Returns the Checkpoint info object |
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. 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(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(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(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(String name)
This method removes a named component configuration object |
void |
renameComponent(String name,
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 String INPUT_MAP_NAME
static final String OUTPUT_MAP_NAME
| Method Detail |
|---|
int getConnectorCount()
ConnectorConfig getConnectorByName(Object name)
throws Exception
name - the name of the Connector for which to return the Connector
configuration object
Exception - if error occurs while retrieving the configuration object.
ConnectorConfig getConnector(int position)
throws Exception
position - Connector position
Exception - if error occurs while retrieving the configuration object.@Deprecated int getComponentCount()
@Deprecated ContainerConfig getComponents()
@Deprecated
BaseConfiguration getComponentByName(String name)
throws Exception
name - The name of the component to get.
Exception - never
@Deprecated
BaseConfiguration getComponent(int position)
throws Exception
position - component position
Exception - never
@Deprecated
void removeComponent(int position)
throws Exception
position - component position
Exception - never
void removeComponent(BaseConfiguration component)
throws Exception
component - component config
Exception - if error removing the component occurs.
@Deprecated
void insertComponent(BaseConfiguration connector,
int position)
throws Exception
connector - The component configuration object to addposition - The position of the connector or -1 to add the connector to
the end
Exception - never
@Deprecated
boolean moveComponent(int position,
boolean up)
position - Current connector positionup - Up (true) or down (false)
void renameComponent(String name,
String newName)
throws Exception
name - The current namenewName - .New local name
Exception - if the provided name is invalid or there is already a
component with the specified name.HooksConfig getHooks()
HookConfig getHook(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(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(String name)
name - the name of the attribute map config to retrieve
boolean getDebug()
getDebug in interface BaseConfigurationboolean getDebug(boolean defval)
getDebug in interface BaseConfigurationdefval - The default value
void setDebug(boolean debug)
setDebug in interface BaseConfigurationdebug - The new debug value
boolean autoMapAllAttributes(Object connectorName)
throws Exception
connectorName - The name of an AssemblyLine Component
Exception - if the check does not succeedCheckpointConfig getCheckpointConfig()
SandboxConfig getSandboxConfig()
LogConfig getLogConfig()
PropertyConfig getThreadOptions()
throws Exception
Exception - if the options could not be retrieved.ContainerConfig getEntryFeedComponents()
ContainerConfig getDataFlowComponents()
boolean containsComponent(String name)
name - The name of the config
BaseConfiguration getComponent(String name)
name - The name of the config
ContainerConfig addComponent(BaseConfiguration config)
config - The configuration object
void removeComponent(String name)
name - The name of the component to remove.
SimulationConfig getSimulationConfig()
throws Exception
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 | ||||||||||