|
|||||||||||
| 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.SolutionInterfaceImpl
public class SolutionInterfaceImpl
This class provides access to the Solution interface settings of a configuration. Most of these elements are used to define external aspects of a configuration such as which AssemblyLines and properties are visible/editable by a user at runtime.
| Field Summary |
|---|
| 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.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 | |
|---|---|
SolutionInterfaceImpl()
|
|
SolutionInterfaceImpl(Object data)
|
|
| Method Summary | |
|---|---|
BaseConfiguration |
addExposedAssemblyLine(String name)
Convenience method to create a BaseConfiguration object in the exposed assemblylines container. |
ExposedProperty |
addExposedProperty(String propertyName,
String storeName)
Convenience method to create an ExposedProperty object in the exposed properties container. |
Object |
getClone()
|
ContainerConfig |
getExposedAssemblyLines()
Returns a container of assemblyline names that are exposed by this solution. |
ContainerConfig |
getExposedProperties()
Returns a container of ExposedProperty objects. |
ExposedProperty |
getExposedProperty(String propertyName,
String storeName)
Returns the ExposedProperty object using name and storename |
String |
getHealthAssemblyLine()
Returns the name of the health assemblyline. |
int |
getHealthPollInterval()
Returns the poll interval for the health assemblyline. |
String |
getInstanceID()
Returns the instance ID for this configuration or null if none is defined. |
List<String> |
getPropertyCategoryNames()
Convenience method that returns a list of unique category names found in the exposed properties container. |
List<String> |
getPropertyStoreNames()
Convenience method that returns a list of unique store names found in the exposed properties container. |
void |
init()
Called after internal data structure is set. |
void |
setHealthAssemblyLine(String name)
Sets the name of the health assemblyline for this configuration (null or empty string to clear). |
void |
setHealthPollInterval(int seconds)
Sets the poll interval for the health assemblyline. |
void |
setInstanceID(String id)
Sets the instance ID for this configuration or null if none is defined. |
| 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.ContainerConfig |
|---|
addConfig, containsConfig, getConfig, getConfig, getConfig, getConfigurations, getInheritedConfigurations, indexOf, indexOf, insertConfig, moveConfig, moveConfig, moveConfig, removeConfig, removeConfig, removeConfig, size |
| Constructor Detail |
|---|
public SolutionInterfaceImpl()
public SolutionInterfaceImpl(Object data)
| Method Detail |
|---|
public void init()
BaseConfigurationImpl
init in interface BaseConfigurationinit in class BaseConfigurationImplpublic ContainerConfig getExposedAssemblyLines()
SolutionInterface
getExposedAssemblyLines in interface SolutionInterface
public BaseConfiguration addExposedAssemblyLine(String name)
throws Exception
SolutionInterface
addExposedAssemblyLine in interface SolutionInterfacename - Name of the AL to expose
Exception
public ExposedProperty getExposedProperty(String propertyName,
String storeName)
SolutionInterface
getExposedProperty in interface SolutionInterfacepropertyName - The propery name.storeName - The store name.
public ExposedProperty addExposedProperty(String propertyName,
String storeName)
SolutionInterface
addExposedProperty in interface SolutionInterfacepropertyName - Name of the AL to expose.storeName - Name of the store.
public ContainerConfig getExposedProperties()
SolutionInterface
getExposedProperties in interface SolutionInterfacepublic String getHealthAssemblyLine()
SolutionInterface
getHealthAssemblyLine in interface SolutionInterfacepublic void setHealthAssemblyLine(String name)
SolutionInterface
setHealthAssemblyLine in interface SolutionInterfacename - The name of the Health assemblyline (using empty string will
translate to null value).public List<String> getPropertyCategoryNames()
SolutionInterface
getPropertyCategoryNames in interface SolutionInterfacepublic List<String> getPropertyStoreNames()
SolutionInterface
getPropertyStoreNames in interface SolutionInterfacepublic String getInstanceID()
SolutionInterface
getInstanceID in interface SolutionInterfacepublic void setInstanceID(String id)
SolutionInterface
setInstanceID in interface SolutionInterfaceid - The config instance id or nullpublic int getHealthPollInterval()
SolutionInterface
getHealthPollInterval in interface SolutionInterfacepublic void setHealthPollInterval(int seconds)
SolutionInterface
setHealthPollInterval in interface SolutionInterfaceseconds - The poll interval in seconds
public Object getClone()
throws Exception
BaseConfigurationImpl
getClone in interface BaseConfigurationgetClone in class ContainerConfigImplException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||