Class BooleanGuacamoleProperty

java.lang.Object
org.apache.guacamole.properties.BooleanGuacamoleProperty
All Implemented Interfaces:
GuacamoleProperty<Boolean>

public abstract class BooleanGuacamoleProperty extends Object implements GuacamoleProperty<Boolean>
A GuacamoleProperty whose value is an boolean. Legal true values are "true", or "false". Case does not matter.
  • Constructor Details

    • BooleanGuacamoleProperty

      public BooleanGuacamoleProperty()
  • Method Details

    • parseValue

      public Boolean parseValue(String value) throws org.apache.guacamole.GuacamoleException
      Description copied from interface: GuacamoleProperty
      Parses the given string value into the type associated with this GuacamoleProperty.
      Specified by:
      parseValue in interface GuacamoleProperty<Boolean>
      Parameters:
      value - The string value to parse.
      Returns:
      The parsed value.
      Throws:
      org.apache.guacamole.GuacamoleException - If an error occurs while parsing the provided value.