Class IntegerParameter

java.lang.Object
de.muehlencord.shared.configuration.Parameter<Integer>
de.muehlencord.shared.configuration.IntegerParameter

public class IntegerParameter extends Parameter<Integer>
A Integer parameter
Author:
Joern Muehlencord (joern@muehlencord.de)
  • Constructor Details

    • IntegerParameter

      public IntegerParameter(String name)
      creates a new mandatory parameter object using default string converter
      Parameters:
      name - the name of the parameter
    • IntegerParameter

      public IntegerParameter(String name, StringConverter<Integer> converter)
      creates a new mandatory parameter object
      Parameters:
      name - the name of the parameter
      converter - the converter object to convert the value of the parameter to string and vice versa
    • IntegerParameter

      public IntegerParameter(String name, boolean mandatory)
      creates a new parameter object using default string converter
      Parameters:
      name - the name of the parameter
      mandatory - detremines if this is a mandatory parameter or not
    • IntegerParameter

      public IntegerParameter(String name, StringConverter<Integer> converter, boolean mandatory)
      creates a new parameter object
      Parameters:
      name - the name of the parameter
      converter - the converter object to convert the value of the parameter to string and vice versa
      mandatory - detremines if this is a mandatory parameter or not