Class ConfigurableExtensionEditor
java.lang.Object
ch.ivyteam.ivy.process.extension.impl.ConfigurableExtensionEditor
- All Implemented Interfaces:
ICommonProcessExtensionConfigurationEditor,IProcessExtensionConfigurationEditorEx
- Direct Known Subclasses:
AbstractProcessExtensionConfigurationEditor,UiEditorExtension
public abstract class ConfigurableExtensionEditor
extends Object
implements IProcessExtensionConfigurationEditorEx
Abstract base class for process extension configuration editors
- Since:
- 25.08.2009
- API:
- This is a public API.
-
Method Summary
Modifier and TypeMethodDescriptionprotected voidClears the bean configuration and all its properties.protected Stringprotected StringGets a bean configuration property.Gets the names of the the bean configuration propertiesClients are not expected to override this method.protected voidLoad the data of the configuration to the ui widgets.
Clients are expected to override this method.protected booleanSave the data in the ui widgets to the configuration
Clients are expected to override this method.protected voidsetBeanConfiguration(String configString) Sets the given bean configuration to the given configuration stringprotected StringsetBeanConfigurationProperty(String name, String value) Sets a bean configuration property.Methods inherited from interface ch.ivyteam.ivy.process.extension.ICommonProcessExtensionConfigurationEditor
getComponent, getCompositeMethods inherited from interface ch.ivyteam.ivy.process.extension.IProcessExtensionConfigurationEditorEx
setEnvironment
-
Method Details
-
getConfiguration
Clients are not expected to override this method.- Specified by:
getConfigurationin interfaceICommonProcessExtensionConfigurationEditor- Returns:
- a description of a configuration. This description will be sent to the corresponding OuterProcessBean
- See Also:
- API:
- This public API is available in Java.
-
getBeanConfiguration
- API:
- This public API is available in Java.
-
setBeanConfiguration
Sets the given bean configuration to the given configuration string- Parameters:
configString- the configuration to set.- API:
- This public API is available in Java.
-
getBeanConfigurationProperty
Gets a bean configuration property.
This method only works correct if the configuration string contains a serialized
Propertiesobject.- Parameters:
name-- Returns:
- the bean configuration property value. Maybe null.
- API:
- This public API is available in Java.
-
setBeanConfigurationProperty
Sets a bean configuration property.
- Parameters:
name- the name of the property to setvalue- the new value of the bean configuration property- Returns:
- the old bean configuration property value. Maybe null.
- API:
- This public API is available in Java.
-
clearBeanConfiguration
protected void clearBeanConfiguration()Clears the bean configuration and all its properties.
Call this method before storing the bean configuration properties to flush outdated configurations. Typically called as first method in
saveUiDataToConfiguration().- API:
- This public API is available in Java.
-
getBeanConfigurationPropertyNames
Gets the names of the the bean configuration properties- Returns:
- Set of property names. Never null. Maybe empty
- API:
- This public API is available in Java.
-
loadUiDataFromConfiguration
protected void loadUiDataFromConfiguration()Load the data of the configuration to the ui widgets.
Clients are expected to override this method.- API:
- This public API is available in Java.
-
saveUiDataToConfiguration
protected boolean saveUiDataToConfiguration()Save the data in the ui widgets to the configuration
Clients are expected to override this method.- Returns:
- true if save was successful, otherwise false
- API:
- This public API is available in Java.
-