|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface ContainerConfig
A Container containing BaseConfiguration objects.
| Field Summary |
|---|
| 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 |
| Method Summary | |
|---|---|
int |
addConfig(BaseConfiguration config)
This method adds a configuration object to the container |
boolean |
containsConfig(String name,
boolean recursive)
Returns true if a BaseConfiguration with the provided name can be found. |
BaseConfiguration |
getConfig(int index)
This method returns the configuration object at index |
BaseConfiguration |
getConfig(String name)
Returns the BaseConfiguration with the specified name in this container. |
BaseConfiguration |
getConfig(String name,
boolean recursive)
Returns the BaseConfiguration with the specified name traversing child objects of type ContainerConfig if recursive is true. |
List<BaseConfiguration> |
getConfigurations(List<BaseConfiguration> list)
Returns a flattened list of the entire tree of config items. |
List<BaseConfiguration> |
getInheritedConfigurations(List<BaseConfiguration> list)
Returns a List of BaseConfiguration items from this object and inherited containers |
int |
indexOf(BaseConfiguration config)
Returns the index of the BaseConfiguration |
int |
indexOf(String name)
Returns the index of the BaseConfiguration |
int |
insertConfig(BaseConfiguration config,
int position)
This method inesrts a configuration object at the specified index |
boolean |
moveConfig(BaseConfiguration config,
boolean up)
Moves a BaseConfiguration one position up or down |
int |
moveConfig(BaseConfiguration config,
int position)
Moves a BaseConfiguration to a new position |
boolean |
moveConfig(int position,
boolean up)
Moves a BaseConfiguration 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 BaseConfiguration objects in the container |
| Method Detail |
|---|
int size()
size in interface BaseConfigurationint indexOf(BaseConfiguration config)
config - component BaseConfigurationint indexOf(String name)
name - component BaseConfiguration name to lookupList<BaseConfiguration> getInheritedConfigurations(List<BaseConfiguration> list)
list - If not null, BaseConfiguration items are added to this list
List<BaseConfiguration> getConfigurations(List<BaseConfiguration> list)
list - If not null, config items are added to this list
BaseConfiguration getConfig(int index)
index - The configuration object
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
int insertConfig(BaseConfiguration config,
int position)
config - The configuration objectposition - Position of the new object
BaseConfiguration removeConfig(int index)
index - Index of the configuration objectboolean removeConfig(BaseConfiguration config)
config - component config
boolean removeConfig(String name,
boolean recursive)
name - Name of the configuration objectrecursive - True if child containers should be searched
boolean moveConfig(int position,
boolean up)
position - Current connector positionup - Up (true) or down (false)
boolean moveConfig(BaseConfiguration config,
boolean up)
config - The BaseConfiguration to moveup - Up (true) or down (false)
int moveConfig(BaseConfiguration config,
int position)
config - Component BaseConfigurationposition - New position
boolean containsConfig(String name,
boolean recursive)
name - The name of the BaseConfiguration 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 | ||||||||||