|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContainerConfig
Field Summary |
---|
Fields inherited from interface com.ibm.di.config.interfaces.BaseConfiguration |
---|
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, SUBTREE |
Method Summary | |
---|---|
int |
addConfig(BaseConfiguration config)
This method adds a configuration object to the container |
boolean |
containsConfig(String name,
boolean recursive)
Returns true if there is a config having the provided name. |
BaseConfiguration |
getConfig(int index)
This method returns the configuration object at index |
BaseConfiguration |
getConfig(String name)
Returns the config with the specified name in this container. |
BaseConfiguration |
getConfig(String name,
boolean recursive)
Returns the config with the specified name traversing child objects of type ContainerConfig if recursive is true. |
List |
getConfigurations(List list)
Returns a flattened list of the entire tree of config items. |
List |
getInheritedConfigurations(List list)
Returns a list of config items from this object and inherited containers |
int |
indexOf(BaseConfiguration config)
Returns the index of the config |
int |
indexOf(String name)
Returns the index of the config |
int |
insertConfig(BaseConfiguration config,
int position)
This method inesrts a configuration object at the specified index |
boolean |
moveConfig(BaseConfiguration config,
boolean up)
Moves a config one position up or down |
int |
moveConfig(BaseConfiguration config,
int position)
Moves a config from one position to another |
boolean |
moveConfig(int position,
boolean up)
Moves a config one position up or down |
boolean |
removeConfig(BaseConfiguration config)
Removes a component from the container |
BaseConfiguration |
removeConfig(int index)
This method removes a configuration object from the container |
boolean |
removeConfig(String name,
boolean recursive)
This method removes a named configuration object from the container or its subcontainers |
int |
size()
This method returns the number of config objects in the container |
Method Detail |
---|
int size()
size
in interface BaseConfiguration
Exception
int indexOf(BaseConfiguration config)
config
- component configint indexOf(String name)
name
- component config name to lookupList getInheritedConfigurations(List list)
list
- If not null, config items are added to this list
List getConfigurations(List list)
list
- If not null, config items are added to this list
BaseConfiguration getConfig(int index)
index
- The configuration object
Exception
BaseConfiguration getConfig(String name, boolean recursive)
name
- The config's namerecursive
- Traverse child ContainerConfigs if true
BaseConfiguration getConfig(String name)
name
- The config's name
int addConfig(BaseConfiguration config)
config
- The configuration object
Exception
int insertConfig(BaseConfiguration config, int position)
config
- The configuration objectposition
- Position of the new object
Exception
BaseConfiguration removeConfig(int index)
index
- Index of the configuration object
Exception
boolean removeConfig(BaseConfiguration config)
config
- component configboolean removeConfig(String name, boolean recursive)
name
- Name of the configuration objectrecursive
- True if child containers should be searched
Exception
boolean moveConfig(int position, boolean up)
position
- Current connector positionup
- Up (true) or down (false)
boolean moveConfig(BaseConfiguration config, boolean up)
config
- Current connector positionup
- Up (true) or down (false)
int moveConfig(BaseConfiguration config, int position)
config
- Component configposition
- New position
boolean containsConfig(String name, boolean recursive)
name
- The name of the config itemrecursive
- If true, a tree walk will be performed when checking for the name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |