|
||||||||||
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.ContainerConfigImpl
com.ibm.di.config.base.BranchingConfigImpl
com.ibm.di.config.base.LoopConfigImpl
public class LoopConfigImpl
Implements the configuration for a Loop Component in an AssemblyLine.
Field Summary | |
---|---|
protected ConnectorConfig |
loopConnector
|
Fields inherited from class com.ibm.di.config.base.BranchingConfigImpl |
---|
conditions |
Fields inherited from class com.ibm.di.config.base.ContainerConfigImpl |
---|
items |
Fields inherited from class com.ibm.di.config.base.BaseConfigurationImpl |
---|
NAME |
Fields inherited from interface com.ibm.di.config.interfaces.LoopConfig |
---|
LOOP_COLLECTION, LOOP_CONDITIONS, LOOP_CONNECTOR_FC, OPTION_INITIALIZE, OPTION_NONE, OPTION_SELECT |
Fields inherited from interface com.ibm.di.config.interfaces.BranchingConfig |
---|
BRANCH_CASE, BRANCH_ELSE, BRANCH_ELSEIF, BRANCH_IF, BRANCH_SWITCH |
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 |
Constructor Summary | |
---|---|
LoopConfigImpl()
Constructor for the loopConnectorImpl object |
|
LoopConfigImpl(java.lang.Object data)
Constructor for the loopConnectorImpl object |
Method Summary | |
---|---|
boolean |
flatten(java.util.List<java.lang.String> excludedNS)
flatten - combines all values from this object and its inherited objects into one single config object. |
java.lang.Object |
getClone()
Return self clone |
int |
getInitConnectorOption()
Returns the type of loop we are doing |
java.lang.String |
getLoopAttributeName()
Returns the name of the loop attribute that has one value from the work attribute for each loop |
ConnectorConfig |
getLoopConnector()
Returns the Loop connector configuration |
int |
getLoopType()
Returns the type of loop we are doing |
java.util.List<java.lang.String> |
getReferences(java.util.List<java.lang.String> list)
|
java.lang.String |
getWorkAttributeName()
Returns the name of the work attribute whose values to loop over |
void |
notifyChange(java.lang.Object source,
java.lang.Object key,
int operation,
java.lang.Object userObject)
Notifies listeners for a change event. |
java.util.List<javax.naming.Binding> |
search(java.lang.String text,
int options,
int sizelimit,
java.util.List<javax.naming.Binding> results)
Searches a configuration object and optionally its children for a specific key or value. |
void |
setInitConnectorOption(int option)
Sets the loop type |
void |
setLoopAttributeName(java.lang.String name)
Sets the name of the work attribute whose values to loop over |
void |
setLoopConnector(ConnectorConfig cc)
|
void |
setLoopType(int type)
Sets the loop type |
void |
setWorkAttributeName(java.lang.String name)
Sets the name of the work attribute whose values to loop over |
Methods inherited from class com.ibm.di.config.base.BranchingConfigImpl |
---|
getBranchType, getConditions, getEnabled, getMatchAny, init, newCondition, numberLoops, setBranchType, setConditions, setMatchAny, totalSize |
Methods inherited from class com.ibm.di.config.base.ContainerConfigImpl |
---|
addConfig, containsConfig, getChild, getChildNames, getConfig, getConfig, getConfig, getConfigurations, getInheritedConfigurations, indexOf, indexOf, insertConfig, moveConfig, moveConfig, moveConfig, removeConfig, removeConfig, removeConfig, setupInheritanceChain, size |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.ibm.di.config.interfaces.BranchingConfig |
---|
getBranchType, getConditions, getMatchAny, newCondition, numberLoops, setBranchType, setMatchAny, totalSize |
Methods inherited from interface com.ibm.di.config.interfaces.ContainerConfig |
---|
addConfig, containsConfig, getConfig, getConfig, getConfig, getConfigurations, getInheritedConfigurations, indexOf, indexOf, insertConfig, moveConfig, moveConfig, moveConfig, removeConfig, removeConfig, removeConfig, size |
Field Detail |
---|
protected ConnectorConfig loopConnector
Constructor Detail |
---|
public LoopConfigImpl()
public LoopConfigImpl(java.lang.Object data)
data
- TreeMap with config dataMethod Detail |
---|
public ConnectorConfig getLoopConnector() throws java.lang.Exception
getLoopConnector
in interface LoopConfig
java.lang.Exception
public void setLoopConnector(ConnectorConfig cc)
public int getLoopType()
getLoopType
in interface LoopConfig
public void setLoopType(int type)
setLoopType
in interface LoopConfig
public int getInitConnectorOption()
getInitConnectorOption
in interface LoopConfig
public void setInitConnectorOption(int option)
setInitConnectorOption
in interface LoopConfig
public java.lang.String getWorkAttributeName()
getWorkAttributeName
in interface LoopConfig
public void setWorkAttributeName(java.lang.String name)
setWorkAttributeName
in interface LoopConfig
public java.lang.String getLoopAttributeName()
getLoopAttributeName
in interface LoopConfig
public void setLoopAttributeName(java.lang.String name)
setLoopAttributeName
in interface LoopConfig
public void notifyChange(java.lang.Object source, java.lang.Object key, int operation, java.lang.Object userObject)
BaseConfigurationImpl
Note: This method is typically called by setParameter method but not from user code.
notifyChange
in interface BaseConfiguration
notifyChange
in class BaseConfigurationImpl
source
- The caller initiating the change eventkey
- The key that changedoperation
- The operation performed on keyuserObject
- Arbitrary object provided by callerpublic java.lang.Object getClone() throws java.lang.Exception
getClone
in interface BaseConfiguration
getClone
in class BranchingConfigImpl
java.lang.Exception
public boolean flatten(java.util.List<java.lang.String> excludedNS) throws java.lang.Exception
flatten
in interface BaseConfiguration
flatten
in class BaseConfigurationImpl
excludedNS
- List of namespaces to exclude from flattening
true
if object attempted flattening, FALSE is this
object inherits from an excluded namespace or has no inheritance
java.lang.Exception
public java.util.List<java.lang.String> getReferences(java.util.List<java.lang.String> list)
BaseConfigurationImpl
getReferences
in interface BaseConfiguration
getReferences
in class BaseConfigurationImpl
list
- If non-null, the object must use the provided list rather than
creating its own
public java.util.List<javax.naming.Binding> search(java.lang.String text, int options, int sizelimit, java.util.List<javax.naming.Binding> results)
BaseConfigurationImpl
search
in interface BaseConfiguration
search
in class BaseConfigurationImpl
text
- The search textoptions
- Search options (oneLevel=1, exactCase=2, regExp=4,
paramName=8)sizelimit
- Max number of hits returnedresults
- A list of results.
results
parameter.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |