Class StringOption

    • Field Detail

      • currentVal

        protected String currentVal
      • defaultVal

        protected String defaultVal
    • Constructor Detail

      • StringOption

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

      • setValue

        public void setValue​(String v)
      • getValue

        public String getValue()
      • 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