|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AssemblyLineConfig
AssemblyLineConfig
Field Summary | |
---|---|
static String |
INPUT_MAP_NAME
The name of the input map |
static String |
OUTPUT_MAP_NAME
The name of the output map |
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)
|
CheckpointConfig |
getCheckpointConfig()
Returns the Checkpoint info object |
BaseConfiguration |
getComponent(int position)
Returns the component attribute of the AssemblyLineConfig object |
BaseConfiguration |
getComponent(String name)
Returns the component configuration |
BaseConfiguration |
getComponentByName(String name)
Returns the component attribute of the AssemblyLineConfig object |
int |
getComponentCount()
Returns the number of components in the assemblyline |
ContainerConfig |
getComponents()
Returns the components container |
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 object |
SchemaConfig |
getSchema(boolean input)
Returns the AssemblyLine's schema |
SchemaConfig |
getSchema(String name)
|
BaseConfiguration |
getSettings()
Returns the AssemblyLine Settings |
CallConfig |
getTaskInputParameters()
Deprecated. Use getSchema(true) |
CallConfig |
getTaskOutputParameters()
Deprecated. Use getSchema(false) |
PropertyConfig |
getThreadOptions()
Returns the Thread options config in the EventHandlers configuration |
void |
insertComponent(BaseConfiguration connector,
int position)
Adds a connector configuration object to this assemblyline |
boolean |
moveComponent(int position,
boolean up)
Moves a connector one position up or down |
void |
removeComponent(BaseConfiguration component)
Removes a component from the assemblyline |
void |
removeComponent(int position)
Removes a component from the assemblyline |
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 to retrieve.
Exception
ConnectorConfig getConnector(int position) throws Exception
position
- Connector position
Exception
int getComponentCount()
ContainerConfig getComponents()
BaseConfiguration getComponentByName(String name) throws Exception
name
- The name of the component get get.
Exception
BaseConfiguration getComponent(int position) throws Exception
position
- component position
Exception
void removeComponent(int position) throws Exception
position
- component position
Exception
void removeComponent(BaseConfiguration component) throws Exception
component
- component config
Exception
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
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
HooksConfig getHooks()
HookConfig getHook(String name)
name
- The name of the hook
BaseConfiguration getSettings()
void setSettings(BaseConfiguration settings)
settings
- The new settings valueCallConfig getTaskInputParameters()
CallConfig getTaskOutputParameters()
SchemaConfig getSchema(boolean input)
input
- if true, returns the input schema
SchemaConfig getSchema(String name)
AttributeMapConfig getAttributeMap(boolean input)
input
- if true, returns the input attribute map
AttributeMapConfig getAttributeMap(String name)
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(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
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
Exception
- if the operation does not succeedvoid removeComponent(String name)
name
- The name of the component to remove.
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |