Interface ParameterListProvider

All Known Implementing Classes:
Event, ExecuteAction, ModifierEngine, PipRequest

public interface ParameterListProvider
The Interface ParameterListProvider.
Author:
Fraunhofer IESE
  • Method Details

    • addParameter

      void addParameter(Parameter<?> param)
      Adds a parameter.
      Parameters:
      param - the parameter to add
    • addParameter

      <T> void addParameter(String name, T value)
      Adds a parameter.
      Type Parameters:
      T - the generic type
      Parameters:
      name - the name of the parameter
      value - the value of the parameter
    • clearParameters

      void clearParameters()
      Removes all parameters.
    • getParameterForName

      Parameter<?> getParameterForName(String name)
      Gets a parameter.
      Parameters:
      name - the name of the parameter
      Returns:
      the parameter with the given name, or null if it does not exist
    • getParameters

      ParameterList getParameters()
      Gets the list of all parameters.
      Returns:
      the list of all parameters
    • getParameterValue

      <T> T getParameterValue(String name, Class<T> clazz)
      Gets a parameter value.
      Type Parameters:
      T - the generic type
      Parameters:
      name - the name of the parameter
      clazz - the value of the parameter
      Returns:
      the value of the parameter, or null if it does not exist
    • removeParameter

      void removeParameter(String name)
      Adds a parameter.
      Parameters:
      name - the name of the parameter to be deleted
    • setParameters

      void setParameters(ParameterList params)
      Replaces all parameters with the parameters of the provided list.
      Parameters:
      params - list of parameters