public interface InheritedActivityConfiguration extends InheritedConfiguration
InheritedConfiguration by the means
to retrieve configuration values from input parameters and process
configurations.
If a parent configuration has a configuration value and you want to override
this and read the value from an input parameter or the process configuration,
just set this appropriately via the
ChangeableActivityConfiguration. Vice versa, if a parent
configuration reads a configuration value from an input parameter or the
process configuration and you need to change that, provide the desired value
as normal
configuration value and remove the retrieval
from or parameter or process configuration.
To ensure that inheritance with nested configuration works right, always
check the methods of this interface first! If the designated configuration
value is to be retrieved from an input parameter or the process
configuration, the value returned by the
InheritedConfiguration-interface has to be ignored.
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
fromInputParameter(java.lang.String entryName)
Gets the name of the input parameter, the configuration value for the
designated entry is provided at runtime.
|
java.lang.String |
fromProcessConfiguration(java.lang.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.
|
java.util.Set<java.lang.String> |
getAllEntries()
Gets all entry names that have a value different from null in this
configuration.
|
boolean |
hasOwnFromInputParameter(java.lang.String entryName)
Gets whether the designated configuration entry has an own parameter name for retrieval from an
input parameter within this configuration.
|
boolean |
hasOwnFromProcessConfiguration(java.lang.String entryName)
Gets whether the designated configuration entry has not an process configuration entry name for
retrieval from the process configuration within this configuration.
|
void |
remove(java.lang.String entryName)
Removes the value for the entry with the designated name from this
configuration that overrides a configuration value from a parent entity.
|
void |
setFromInputParameter(java.lang.String entryName,
java.lang.String inputParameterName)
Sets the name of the input parameter, the configuration value for the
designated entry is taken from at runtime.
|
void |
setFromProcessConfiguration(java.lang.String entryName,
java.lang.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.
|
getBoolean, getConfigurationID, getDate, getFloat, getInteger, getString, getUDT, getURI, hasOwnValue, isFixed, isFixedForChildren, isFixedForChildrenInherited, isOverriding, removeFixedForChildren, removeInheritedValue, setBoolean, setDate, setFixedForChildren, setFloat, setInteger, setString, setUDT, setURIjava.util.Set<java.lang.String> getAllEntries()
getAllEntries in interface InheritedConfigurationjava.lang.String fromInputParameter(java.lang.String entryName)
entryName - The name of the entry for which to get the name of the
input parameter that provides the configuration value at runtime.java.lang.String fromProcessConfiguration(java.lang.String entryName)
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.void remove(java.lang.String entryName)
remove in interface InheritedConfigurationentryName - The name of the configuration entry to remove from this
configuration and to inherit from a parent entity again. This must
neither be null nor the empty string.void setFromInputParameter(java.lang.String entryName,
java.lang.String inputParameterName)
null.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 be null.inputParameterName - The name of the input parameter, the designated
configuration value is retrieved of. This must not be
null.void setFromProcessConfiguration(java.lang.String entryName,
java.lang.String configurationEntry)
null.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 be null.configurationEntry - The name of the entry of the process
configuration, the designated configuration value is retrieved of.
This must not be null.boolean hasOwnFromInputParameter(java.lang.String entryName)
true will be returned,
otherwise false.entryName - The name of the configuration entry of which to get whether it defines an own
input parameter within this configuration.boolean hasOwnFromProcessConfiguration(java.lang.String entryName)
true will be returned, otherwise false.entryName - The name of the configuration entry of which to get whether it defines
an own process configuration entry within this configuration.