|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConnectorConfig
This is the interface for the TDI Connector configuration.
Field Summary | |
---|---|
static String |
ADDONLY_MODE
|
static String |
BRANCH_MODE
|
static String |
CALL_REPLY_MODE
|
static int |
COMP_INIT_DEFAULT
Component initialization options |
static int |
COMP_INIT_EVERYTIME
|
static int |
COMP_INIT_MODIFIED
|
static int |
COMP_INIT_USE
|
static String |
DELETE_MODE
|
static String |
DELTA_MODE
|
static int |
DELTA_NO_DELETE
|
static int |
DELTA_NORMAL
The following are valid delta behaviors |
static String |
DISABLED_STATE
|
static String |
ENABLED_STATE
The following are the valid connector states |
static String |
FUNCTION_MODE
|
static String |
INPUT_MAP_NAME
Attribute map names |
static String |
ITERATOR_MODE
The following constants are used with the setMode(String) method of the connector config. |
static String |
LOOKUP_MODE
|
static String |
MAPPING_MODE
|
static String |
OUTPUT_MAP_NAME
|
static String |
PASSIVE_STATE
|
static String |
REPLY_MODE
|
static String |
SCHEMA_INPUT
The map name of the input/output schema |
static String |
SCHEMA_OUTPUT
|
static String |
SCRIPT_MODE
|
static String |
SERVER_MODE
|
static String |
SERVER_OPTION_CONNECTOR
|
static String |
SERVER_OPTION_ENTRY
Server options |
static String |
UPDATE_MODE
|
Method Summary | |
---|---|
AttributeMapConfig |
getAttributeMap()
Attribute Maps |
AttributeMapConfig |
getAttributeMap(boolean input)
Gets the attributeMap attribute of the ConnectorConfig object |
AttributeMapConfig |
getAttributeMap(Object name)
Gets the attributeMap attribute of the ConnectorConfig object |
CheckpointConfig |
getCheckpointConfig()
Returns the checkpoint configuration. |
boolean |
getComputeChanges()
Returns the compute-changes flag for Update mode connector. |
RawConnectorConfig |
getConnectionConfig()
Connection parameters |
String |
getConnectorScript()
Script connectors |
int |
getDeltaBehavior()
Returns true if the connector uses delta behavior |
DeltaConfig |
getDeltaConfig()
Returns the delta configuration |
boolean |
getDeltaStrict()
Returns the delta strict flag |
boolean |
getEnabled()
Enabled (typically used in the AssemblyLine) |
HooksConfig |
getHooks()
Hooks |
int |
getInitializeOption()
This method returns the initialization option for the component |
LinkCriteriaConfig |
getLinkCriteria()
Link Criteria |
String |
getMode()
Connector mode |
String |
getOperationCarrier()
This method returns the name of the operation carrier |
boolean |
getOperationCarrierIsProperty()
This method returns whether the operation carrier is an entry attribute or entry property |
ParserConfig |
getParserConfig()
Associated Parser configuration |
PoolDefConfig |
getPoolDefConfig()
Returns the Connector Pool definition configuration |
PoolInstanceConfig |
getPoolInstanceConfig()
Returns the Connector Pool instance configuration |
ReconnectConfig |
getReconnectConfig()
Returns the reconnect config |
boolean |
getReplyRequired()
Returns true if the connector requires a response in server or iterator mode. |
SandboxConfig |
getSandboxConfig()
Returns the checkpoint configuration. |
SchemaConfig |
getSchema(boolean input)
Connector's abstract schema - returns the input or output schema config |
SchemaConfig |
getSchema(String name)
Connector's abstract schema - returns a named Schema config |
String |
getServerOption()
Returns the server option (entry or connector) that determines whether the connector returns a connector instance or an entry in server mode. |
String |
getState()
State (typically used in the AssemblyLine) |
boolean |
isEntryFeed()
Returns true if the connector is an entry feed connector |
void |
setAttributeMap(AttributeMapConfig attributeMap)
Sets the attributeMap attribute of the ConnectorConfig object |
void |
setAttributeMap(AttributeMapConfig attributeMap,
boolean input)
Sets the attributeMap attribute of the ConnectorConfig object |
void |
setComputeChanges(boolean cc)
Sets the compute-changes flag for Update mode connector. |
void |
setConnectorScript(String script)
Sets the connectorScript attribute of the ConnectorConfig object |
void |
setDeltaBehavior(int behavior)
Sets delta behavior |
void |
setDeltaStrict(boolean strict)
Sets the delta strict flag |
void |
setEnabled(boolean enabled)
Sets the enabled attribute of the ConnectorConfig object |
void |
setInitializeOption(int option)
This method sets the the initialization option for the component |
void |
setLinkCriteria(LinkCriteriaConfig linkCriteria)
Sets the linkCriteria attribute of the ConnectorConfig object |
void |
setMode(String mode)
Sets the mode attribute of the ConnectorConfig object |
void |
setOperationCarrier(String name)
This method sets the name of the operation carrier |
void |
setOperationCarrierIsProperty(boolean isproperty)
This method sets whether the operation carrier is an entry attribute or entry property |
void |
setParserConfig(ParserConfig parser)
Sets the parserConfig attribute of the ConnectorConfig object |
void |
setState(String state)
Sets the state attribute of the ConnectorConfig object |
Methods inherited from interface com.ibm.di.config.interfaces.OperationsConfig |
---|
createOperation, getOperation, getOperations, getPublishedInitParams, setPublishedInitParams |
Field Detail |
---|
static final String SCHEMA_INPUT
static final String SCHEMA_OUTPUT
static final String ITERATOR_MODE
static final String ADDONLY_MODE
static final String DELETE_MODE
static final String LOOKUP_MODE
static final String UPDATE_MODE
static final String SCRIPT_MODE
static final String CALL_REPLY_MODE
static final String SERVER_MODE
static final String REPLY_MODE
static final String BRANCH_MODE
static final String DELTA_MODE
static final String FUNCTION_MODE
static final String MAPPING_MODE
static final String INPUT_MAP_NAME
static final String OUTPUT_MAP_NAME
static final String ENABLED_STATE
static final String PASSIVE_STATE
static final String DISABLED_STATE
static final int DELTA_NORMAL
static final int DELTA_NO_DELETE
static final String SERVER_OPTION_ENTRY
static final String SERVER_OPTION_CONNECTOR
static final int COMP_INIT_DEFAULT
static final int COMP_INIT_USE
static final int COMP_INIT_MODIFIED
static final int COMP_INIT_EVERYTIME
Method Detail |
---|
String getMode()
void setMode(String mode)
mode
- The new mode valueSchemaConfig getSchema(String name)
SchemaConfig getSchema(boolean input)
String getConnectorScript()
void setConnectorScript(String script)
script
- The new connectorScript valueAttributeMapConfig getAttributeMap()
void setAttributeMap(AttributeMapConfig attributeMap)
attributeMap
- The new attributeMap valueAttributeMapConfig getAttributeMap(boolean input)
input
- a boolean value specifying whether the input
or output Attribute map to retrieve
AttributeMapConfig getAttributeMap(Object name)
name
- the name of the Attribute map to retrieve
void setAttributeMap(AttributeMapConfig attributeMap, boolean input)
attributeMap
- The new attributeMap valueinput
- The new attributeMap valueLinkCriteriaConfig getLinkCriteria()
void setLinkCriteria(LinkCriteriaConfig linkCriteria)
linkCriteria
- The new linkCriteria valueHooksConfig getHooks()
RawConnectorConfig getConnectionConfig()
ParserConfig getParserConfig()
void setParserConfig(ParserConfig parser)
parser
- The new parserConfig valueString getState()
void setState(String state)
state
- The new stateboolean getEnabled()
getEnabled
in interface BaseConfiguration
void setEnabled(boolean enabled)
setEnabled
in interface BaseConfiguration
enabled
- The new enabled valueboolean getComputeChanges()
void setComputeChanges(boolean cc)
cc
- The new enabled valueDeltaConfig getDeltaConfig()
PoolDefConfig getPoolDefConfig()
PoolInstanceConfig getPoolInstanceConfig()
CheckpointConfig getCheckpointConfig()
SandboxConfig getSandboxConfig()
int getDeltaBehavior()
void setDeltaBehavior(int behavior)
boolean getDeltaStrict()
void setDeltaStrict(boolean strict)
String getServerOption()
boolean getReplyRequired()
boolean isEntryFeed()
String getOperationCarrier()
void setOperationCarrier(String name)
boolean getOperationCarrierIsProperty()
void setOperationCarrierIsProperty(boolean isproperty)
ReconnectConfig getReconnectConfig()
int getInitializeOption()
void setInitializeOption(int option)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |