|
||||||||||
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 objectMethod Detail |
---|
public void init() throws Exception
init
in interface BaseConfiguration
init
in class BaseConfigurationImpl
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
- the position of the Connector for which to return the Connector configuration object
public ConnectorConfig getConnectorByName(Object connectorName)
getConnectorByName
in interface AssemblyLineConfig
connectorName
- the name of the Connector for which to return the Connector configuration object
public HookConfig getHook(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 valuepublic CallConfig getTaskInputParameters()
getTaskInputParameters
in interface AssemblyLineConfig
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
- default value for debug
public void setDebug(boolean debug)
setDebug
in interface AssemblyLineConfig
setDebug
in interface BaseConfiguration
setDebug
in class BaseConfigurationImpl
debug
- The new debug valuepublic boolean autoMapAllAttributes(Object connectorName) throws Exception
autoMapAllAttributes
in interface AssemblyLineConfig
connectorName
- the name of the Connector
Exception
- An exception is thrown if this method fails.public Object getClone() throws Exception
getClone
in interface BaseConfiguration
getClone
in class BaseConfigurationImpl
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(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(String name)
getAttributeMap
in interface AssemblyLineConfig
name
- the name of the Attribute map
public ContainerConfig getComponents()
getComponents
in interface AssemblyLineConfig
public int getComponentCount()
getComponentCount
in interface AssemblyLineConfig
public BaseConfiguration getComponentByName(String name)
getComponentByName
in interface AssemblyLineConfig
name
- the name of the component
public BaseConfiguration getComponent(int position)
getComponent
in interface AssemblyLineConfig
position
- component position
public void removeComponent(int position)
removeComponent
in interface AssemblyLineConfig
position
- component positionpublic void insertComponent(BaseConfiguration connector, int position)
insertComponent
in interface AssemblyLineConfig
connector
- The component configuration object to addposition
- The position of the connector or -1 to add the connector to the endpublic boolean moveComponent(int position, boolean up)
moveComponent
in interface AssemblyLineConfig
position
- Current connector positionup
- Up (true) or down (false)
public void renameComponent(String oldName, String newName) throws Exception
renameComponent
in interface AssemblyLineConfig
newName
- New local nameoldName
- the old name of the component
Exception
- An exception is thrown if this method fails.public ContainerConfig getEntryFeedComponents()
getEntryFeedComponents
in interface AssemblyLineConfig
public ContainerConfig getDataFlowComponents()
getDataFlowComponents
in interface AssemblyLineConfig
public boolean containsComponent(String name)
containsComponent
in interface AssemblyLineConfig
name
- The name of the config
public BaseConfiguration getComponent(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(String name)
removeComponent
in interface AssemblyLineConfig
name
- the name of the componentpublic void removeComponent(BaseConfiguration component)
removeComponent
in interface AssemblyLineConfig
component
- component configpublic ContainerConfig getOperations()
getOperations
in interface OperationsConfig
public OperationConfig getOperation(String name)
getOperation
in interface OperationsConfig
public OperationConfig createOperation(String name) throws Exception
createOperation
in interface OperationsConfig
Exception
public SchemaConfig getPublishedInitParams()
OperationsConfig
getPublishedInitParams
in interface OperationsConfig
public void setPublishedInitParams(SchemaConfig schema) throws Exception
OperationsConfig
setPublishedInitParams
in interface OperationsConfig
schema
- The new schema
Exception
public void setupInheritanceChain() throws Exception
BaseConfigurationImpl
setupInheritanceChain
in interface BaseConfiguration
setupInheritanceChain
in class BaseConfigurationImpl
Exception
- if the operation does not succeed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |