|
||||||||||
| 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
This is the implementation class for the AssemblyLine configuration.
| 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(Object config)
Constructor for the AssemblyLineConfigImpl object |
|
| Method Summary | |
|---|---|
ContainerConfig |
addComponent(BaseConfiguration config)
This method adds a configuration object to the correct component container |
boolean |
autoMapAllAttributes(Object connectorName)
Switches, Flags & Limits |
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)
Gets the attributeMap attribute of the AssemblyLineConfigImpl object |
CheckpointConfig |
getCheckpointConfig()
Returns the CheckpointInfo object |
Object |
getClone()
Return self clone |
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)
Gets the connector attribute of the AssemblyLineConfigImpl object |
ConnectorConfig |
getConnectorByName(Object connectorName)
Gets the connectorByName attribute of the AssemblyLineConfigImpl object |
int |
getConnectorCount()
Connector methods |
ContainerConfig |
getDataFlowComponents()
Returns the components container |
boolean |
getDebug()
Debug |
boolean |
getDebug(boolean defval)
Gets the debug attribute of the AssemblyLineConfigImpl object |
ContainerConfig |
getEntryFeedComponents()
Returns the components container |
HookConfig |
getHook(String name)
get an AssemblyLine Hook |
HooksConfig |
getHooks()
get all AssemblyLine Hooks |
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 object |
SchemaConfig |
getSchema(boolean input)
Returns the AssemblyLine's schema |
SchemaConfig |
getSchema(String name)
Gets the schema attribute of the AssemblyLineConfigImpl object |
BaseConfiguration |
getSettings()
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 |
init()
init - Preload all connectors |
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 oldName,
String newName)
Changes the local name of a connector (the name used in script engines etc ) |
void |
setDebug(boolean debug)
Sets the debug attribute of the AssemblyLineConfigImpl object |
void |
setPublishedInitParams(SchemaConfig schema)
Sets the Published Initialization Parameter Schema for the AssemblyLine |
void |
setSettings(BaseConfiguration settings)
Sets the settings attribute of the AssemblyLineConfigImpl object |
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| 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 - the position of the Connector for which to return the Connector configuration object
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 valuepublic CallConfig getTaskInputParameters()
getTaskInputParameters in interface AssemblyLineConfigpublic 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 - default value for debug
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 the Connector
Exception - An exception is thrown if this method fails.
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
public ContainerConfig getComponents()
getComponents in interface AssemblyLineConfigpublic int getComponentCount()
getComponentCount in interface AssemblyLineConfigpublic BaseConfiguration getComponentByName(String name)
getComponentByName in interface AssemblyLineConfigname - the name of the component
public BaseConfiguration getComponent(int position)
getComponent in interface AssemblyLineConfigposition - component position
public void removeComponent(int position)
removeComponent in interface AssemblyLineConfigposition - component position
public void insertComponent(BaseConfiguration connector,
int position)
insertComponent in interface AssemblyLineConfigconnector - The component configuration object to addposition - The position of the connector or -1 to add the connector to the end
public boolean moveComponent(int position,
boolean up)
moveComponent in interface AssemblyLineConfigposition - Current connector positionup - Up (true) or down (false)
public void renameComponent(String oldName,
String newName)
throws Exception
renameComponent in interface AssemblyLineConfignewName - New local nameoldName - the old name of the component
Exception - An exception is thrown if this method fails.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 componentpublic void removeComponent(BaseConfiguration component)
removeComponent in interface AssemblyLineConfigcomponent - component configpublic ContainerConfig getOperations()
getOperations in interface OperationsConfigpublic OperationConfig getOperation(String name)
getOperation in interface OperationsConfig
public OperationConfig createOperation(String name)
throws Exception
createOperation in interface OperationsConfigExceptionpublic SchemaConfig getPublishedInitParams()
OperationsConfig
getPublishedInitParams in interface OperationsConfig
public void setPublishedInitParams(SchemaConfig schema)
throws Exception
OperationsConfig
setPublishedInitParams in interface OperationsConfigschema - The new schema
Exception
public void setupInheritanceChain()
throws Exception
BaseConfigurationImpl
setupInheritanceChain in interface BaseConfigurationsetupInheritanceChain in class BaseConfigurationImplException - if the operation does not succeed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||