Package de.dlr.proseo.ui.cli.parser
Class ParsedOption
java.lang.Object
de.dlr.proseo.ui.cli.parser.ParsedOption
Class representing a parsed command option
- Author:
- Dr. Thomas Bassler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Gets the parsed option's nameGets the parsed option's syntax optiongetType()Gets the parsed option's typegetValue()Gets the parsed option's descriptionvoidSets the parsed option's namevoidsetSyntaxOption(CLIOption syntaxOption) Sets the parsed option's syntax optionvoidSets the parsed option's typevoidSets the parsed option's descriptiontoString()Returns a String representation of the parsed option
-
Constructor Details
-
ParsedOption
public ParsedOption()
-
-
Method Details
-
getName
Gets the parsed option's name- Returns:
- the name
-
setName
Sets the parsed option's name- Parameters:
name- the name to set
-
getType
Gets the parsed option's type- Returns:
- the type
-
setType
Sets the parsed option's type- Parameters:
type- the type to set
-
getValue
Gets the parsed option's description- Returns:
- the description
-
setValue
Sets the parsed option's description- Parameters:
value- the value to set
-
getSyntaxOption
Gets the parsed option's syntax option- Returns:
- the syntaxOption
-
setSyntaxOption
Sets the parsed option's syntax option- Parameters:
syntaxOption- the syntaxOption to set
-
toString
Returns a String representation of the parsed option
-