Class ConstantSetter<T>

    • Field Detail

      • parameterName

        protected String parameterName
    • Constructor Detail

      • ConstantSetter

        public ConstantSetter()
      • ConstantSetter

        public ConstantSetter​(String parameterName,
                              T constant)
        Constructs this to set the given parameter to the given value.
        Parameters:
        parameterName - the name of the parameter
        constant - the value to set the parameter to
    • Method Detail

      • getParameterName

        public String getParameterName()
        Gets the name of the parameter that this setter should set.
        Returns:
        the name of the parameter that this setter should set.
      • next

        public void next​(Parameters params)
        Sets its specified value to its specified parameter name.
        Specified by:
        next in interface ParameterSetter
        Parameters:
        params - the parameters object