Package org.jlab.utils.system
Class CommandLineParser.CommandLineItem
java.lang.Object
org.jlab.utils.system.CommandLineParser.CommandLineItem
- Enclosing class:
- CommandLineParser
internal class implementing items to be stored in the parser.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDescriptionString(int legth, boolean isFlag) getItemString(int legth, boolean isFlag) getName()getValue()booleanvoidsetDefaultValue(String value) voidsetDescription(String desc) voidvoidsetRequired(boolean flag) void
-
Constructor Details
-
CommandLineItem
-
CommandLineItem
-
-
Method Details
-
setName
-
getName
-
getDescription
-
getDefaultValue
-
getValue
-
setValue
-
setDefaultValue
-
setDescription
-
isRequired
public boolean isRequired() -
getDescriptionString
-
getItemString
-
setRequired
public void setRequired(boolean flag)
-