Package de.dlr.proseo.ui.cli.parser
Klasse ParsedOption
java.lang.Object
de.dlr.proseo.ui.cli.parser.ParsedOption
Class representing a parsed command option
- Autor:
- Dr. Thomas Bassler
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibunggetName()
Gets the parsed option's nameGets the parsed option's syntax optiongetType()
Gets the parsed option's typegetValue()
Gets the parsed option's descriptionvoid
Sets the parsed option's namevoid
setSyntaxOption
(CLIOption syntaxOption) Sets the parsed option's syntax optionvoid
Sets the parsed option's typevoid
Sets the parsed option's descriptiontoString()
Returns a String representation of the parsed option
-
Konstruktordetails
-
ParsedOption
public ParsedOption()
-
-
Methodendetails
-
getName
Gets the parsed option's name- Gibt zurück:
- the name
-
setName
Sets the parsed option's name- Parameter:
name
- the name to set
-
getType
Gets the parsed option's type- Gibt zurück:
- the type
-
setType
Sets the parsed option's type- Parameter:
type
- the type to set
-
getValue
Gets the parsed option's description- Gibt zurück:
- the description
-
setValue
Sets the parsed option's description- Parameter:
value
- the value to set
-
getSyntaxOption
Gets the parsed option's syntax option- Gibt zurück:
- the syntaxOption
-
setSyntaxOption
Sets the parsed option's syntax option- Parameter:
syntaxOption
- the syntaxOption to set
-
toString
Returns a String representation of the parsed option
-