Class FlagOption

    • Field Detail

      • isSet

        protected boolean isSet
    • Constructor Detail

      • FlagOption

        public FlagOption​(String name,
                          char cliChar,
                          String purpose)
    • Method Detail

      • setValue

        public void setValue​(boolean v)
      • set

        public void set()
      • unset

        public void unset()
      • isSet

        public boolean isSet()
      • getDefaultCLIString

        public String getDefaultCLIString()
        Description copied from interface: Option
        Gets the Command Line Interface text
        Returns:
        the Command Line Interface text
      • getValueAsCLIString

        public String getValueAsCLIString()
        Description copied from interface: Option
        Gets the value of a Command Line Interface text as a string
        Returns:
        the string with the value of the Command Line Interface text
      • setValueViaCLIString

        public void setValueViaCLIString​(String s)
        Description copied from interface: Option
        Sets value of this option via the Command Line Interface text
        Parameters:
        s - the Command Line Interface text
      • getStateString

        public String getStateString()
        Description copied from interface: Option
        Gets the state of this option in human readable form
        Specified by:
        getStateString in interface Option
        Overrides:
        getStateString in class AbstractOption
        Returns:
        the string with state of this option in human readable form