ConfigurationType
- the ConfigurationType associated with the workflow item. This is
an arbitrary java class that provides details on how the item is
configured. To allow successful serialisation it's recommended to
keep this configuration as a simple Java bean.public interface Configurable<ConfigurationType> extends WorkflowItem
ActivityConfigurationException
Modifier and Type | Method and Description |
---|---|
void |
configure(ConfigurationType conf)
When the item is built from the workflow definition XML the object is
first constructed with a default constructor then this method is called,
passing in the configuration bean returned by getConfiguration().
|
ConfigurationType |
getConfiguration()
Each item stores configuration within a bean of type ConfigurationType,
this method returns the configuration.
|
ConfigurationType getConfiguration()
void configure(ConfigurationType conf) throws ConfigurationException
ConfigurationException
- if a problem occurs when configuring the itemCopyright © 2015–2016 The Apache Software Foundation. All rights reserved.