Klasse ParsedOption

java.lang.Object
de.dlr.proseo.ui.cli.parser.ParsedOption

public class ParsedOption extends Object
Class representing a parsed command option
Autor:
Dr. Thomas Bassler
  • Konstruktordetails

    • ParsedOption

      public ParsedOption()
  • Methodendetails

    • getName

      public String getName()
      Gets the parsed option's name
      Gibt zurück:
      the name
    • setName

      public void setName(String name)
      Sets the parsed option's name
      Parameter:
      name - the name to set
    • getType

      public String getType()
      Gets the parsed option's type
      Gibt zurück:
      the type
    • setType

      public void setType(String type)
      Sets the parsed option's type
      Parameter:
      type - the type to set
    • getValue

      public String getValue()
      Gets the parsed option's description
      Gibt zurück:
      the description
    • setValue

      public void setValue(String value)
      Sets the parsed option's description
      Parameter:
      value - the value to set
    • getSyntaxOption

      public CLIOption getSyntaxOption()
      Gets the parsed option's syntax option
      Gibt zurück:
      the syntaxOption
    • setSyntaxOption

      public void setSyntaxOption(CLIOption syntaxOption)
      Sets the parsed option's syntax option
      Parameter:
      syntaxOption - the syntaxOption to set
    • toString

      public String toString()
      Returns a String representation of the parsed option
      Setzt außer Kraft:
      toString in Klasse Object
      Gibt zurück:
      a String representation of the parsed option