Class EmptyParameterization

  • All Implemented Interfaces:
    Parameterization

    public class EmptyParameterization
    extends AbstractParameterization
    Parameterization handler that only allows the use of default values.
    Since:
    0.3
    Author:
    Erich Schubert
    • Constructor Detail

      • EmptyParameterization

        public EmptyParameterization()
    • Method Detail

      • hasUnusedParameters

        public boolean hasUnusedParameters()
        Description copied from interface: Parameterization
        Check for unused parameters
        Returns:
        true if at least one parameter was not consumed
      • setValueForOption

        public boolean setValueForOption​(Parameter<?> opt)
        Description copied from interface: Parameterization
        Assign a value for an option, but not using default values and throwing exceptions on error.
        Parameters:
        opt - Parameter to set
        Returns:
        Success code