Class BooleanParameter

java.lang.Object
de.muehlencord.shared.configuration.Parameter<Boolean>
de.muehlencord.shared.configuration.BooleanParameter

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

    • BooleanParameter

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

      public BooleanParameter(String name, StringConverter<Boolean> 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
    • BooleanParameter

      public BooleanParameter(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
    • BooleanParameter

      public BooleanParameter(String name, boolean mandatory, Boolean defaultValue)
      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
      defaultValue - the default value for this parameter
    • BooleanParameter

      public BooleanParameter(String name, StringConverter<Boolean> 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
  • Method Details