Class CommandLineParser.CommandLineItem

java.lang.Object
org.jlab.utils.system.CommandLineParser.CommandLineItem
Enclosing class:
CommandLineParser

public static class CommandLineParser.CommandLineItem extends Object
internal class implementing items to be stored in the parser.
  • Constructor Details

    • CommandLineItem

      public CommandLineItem(String name)
    • CommandLineItem

      public CommandLineItem(String name, String desc)
  • Method Details

    • setName

      public void setName(String name)
    • getName

      public String getName()
    • getDescription

      public String getDescription()
    • getDefaultValue

      public String getDefaultValue()
    • getValue

      public String getValue()
    • setValue

      public void setValue(String value)
    • setDefaultValue

      public void setDefaultValue(String value)
    • setDescription

      public void setDescription(String desc)
    • isRequired

      public boolean isRequired()
    • getDescriptionString

      public String getDescriptionString(int legth, boolean isFlag)
    • getItemString

      public String getItemString(int legth, boolean isFlag)
    • setRequired

      public void setRequired(boolean flag)