Interface ChangeableActivityConfiguration
- All Superinterfaces:
ActivityConfiguration,ChangeableConfiguration,Configuration,Serializable
public interface ChangeableActivityConfiguration
extends ChangeableConfiguration, ActivityConfiguration
This interface unifies a
ChangeableConfiguration and an
ActivityConfiguration and allows to change the attributes of the
ActivityConfiguration, that is whether a configuration value
stems from an input parameter or the corresponding process configuration.- Author:
- Ulrich Kreher
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.aristaflow.adept2.model.common.Configuration
Configuration.ConfigurationIDs -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longGenerated ID for serialisation. -
Method Summary
Modifier and TypeMethodDescriptionvoidRemoves the value for the entry with the designated name from this configuration.voidsetFromInputParameter(String entryName, String inputParameterName) Sets the name of the input parameter, the configuration value for the designated entry is taken from at runtime.voidsetFromProcessConfiguration(String entryName, String configurationEntry) Sets the name of the entry of the process configuration, the value for this configuration and the designated entry provided from at runtime.Methods inherited from interface de.aristaflow.adept2.model.common.ActivityConfiguration
fromInputParameter, fromProcessConfiguration, getAllEntriesMethods inherited from interface de.aristaflow.adept2.model.common.ChangeableConfiguration
setBoolean, setDate, setFloat, setInteger, setString, setUDT, setURIMethods inherited from interface de.aristaflow.adept2.model.common.Configuration
getBoolean, getConfigurationID, getDate, getFloat, getInteger, getString, getUDT, getURI, isFixed
-
Field Details
-
serialVersionUID
static final long serialVersionUIDGenerated ID for serialisation.- See Also:
-
-
Method Details
-
setFromInputParameter
Sets the name of the input parameter, the configuration value for the designated entry is taken from at runtime. This input parameter has to exist and has to have the right type in the corresponding activity. Neither the name of the entry nor the name of the input parameter may benull.- Parameters:
entryName- The name of the entry for which to set the name of the input parameter that provides the configuration value at runtime. This must not benull.inputParameterName- The name of the input parameter, the designated configuration value is retrieved of. This must not benull.
-
setFromProcessConfiguration
Sets the name of the entry of the process configuration, the value for this configuration and the designated entry provided from at runtime. The entry in the process configuration has to exist in the process model and has to have the right type in the corresponding process configuration. Neither the name of the activity configuration entry nor the name of the process configuration entry may benull.- Parameters:
entryName- The name of the entry for which to set the entry name of the process configuration that provides the configuration value at runtime. This must not benull.configurationEntry- The name of the entry of the process configuration, the designated configuration value is retrieved of. This must not benull.
-
remove
Removes the value for the entry with the designated name from this configuration. Calling this method will have no effects if the value of the designated entry does not exist. This also removes retrieving the designated configuration value from an input parameter or the process configuration if appropriate.- Specified by:
removein interfaceChangeableConfiguration- Parameters:
entryName- The name of the configuration entry to remove from this configuration. This must neither be null nor the empty string.
-