Interface ActivityConfiguration
- All Superinterfaces:
Configuration,Serializable
- All Known Subinterfaces:
ChangeableActivityConfiguration,MergingActivityConfiguration
In AristaFlow configuration values in the activity model may stem from an
input parameter as well as the configuration of the corresponding process.
Since these may only be resolved at runtime, null will be returned as value
beforehand. The methods of this interface allow to check whether such a value
will be resolved at runtime and if so, whether it will stem from an input
parameter or a 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 TypeMethodDescriptionfromInputParameter(String entryName) Gets the name of the input parameter, the configuration value for the designated entry is provided at runtime.fromProcessConfiguration(String entryName) Gets the name of the entry of the process configuration, the value for this configuration and the designated entry is provided at runtime.Gets all entry names that have a value different from null in this configuration.Methods 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
-
fromInputParameter
Gets the name of the input parameter, the configuration value for the designated entry is provided at runtime. This input parameter exists and has the right type in the corresponding activity.
If the specified configuration value is not retrieved from a parameter, this method will return null.- Parameters:
entryName- The name of the entry for which to get the name of the input parameter that provides the configuration value at runtime.- Returns:
- The name of the input parameter, the designated configuration value is retrieved of or null in case the configuration value does not stem from an input parameter.
-
fromProcessConfiguration
Gets the name of the entry of the process configuration, the value for this configuration and the designated entry is provided 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.
If the specified configuration value is not retrieved from the corresponding process configuration, this method will return null.- Parameters:
entryName- The name of the entry for which to get the name of the configuration key of the process configuration that provides the configuration value at runtime.- Returns:
- The name of the entry of the process configuration, the designated configuration value is retrieved of or null in case the configuration value does not stem from the process configuration.
-
getAllEntries
Gets all entry names that have a value different from null in this configuration. This entry names also include the values retrieved from an input parameter or a process configuration.- Specified by:
getAllEntriesin interfaceConfiguration- Returns:
- All entry names that have a value in this configuration or are retrieved from an input parameter or a process configuration.
-