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
  • Field Details

    • serialVersionUID

      static final long serialVersionUID
      Generated ID for serialisation.
      See Also:
  • Method Details

    • setFromInputParameter

      void setFromInputParameter(String entryName, String inputParameterName)
      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 be null.
      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 be null.
      inputParameterName - The name of the input parameter, the designated configuration value is retrieved of. This must not be null.
    • setFromProcessConfiguration

      void setFromProcessConfiguration(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. 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 be null.
      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 be null.
      configurationEntry - The name of the entry of the process configuration, the designated configuration value is retrieved of. This must not be null.
    • remove

      void remove(String entryName)
      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:
      remove in interface ChangeableConfiguration
      Parameters:
      entryName - The name of the configuration entry to remove from this configuration. This must neither be null nor the empty string.