public static class CommandOption.String extends CommandOption
CommandOption.Boolean, CommandOption.Double, CommandOption.DoubleArray, CommandOption.File, CommandOption.Integer, CommandOption.IntegerArray, CommandOption.List, CommandOption.ListProviding, CommandOption.Object, CommandOption.ObjectFromBean, CommandOption.Set, CommandOption.SpacedStrings, CommandOption.String
Modifier and Type | Field and Description |
---|---|
String |
defaultValue |
String |
value |
Constructor and Description |
---|
String(Class owner,
String name,
String argName,
boolean argRequired,
String defaultValue,
String shortdoc,
String longdoc) |
Modifier and Type | Method and Description |
---|---|
String |
defaultValueToString() |
void |
parseArg(String arg) |
String |
value() |
String |
valueToString() |
getFullName, getInterpreter, getList, getName, parseArg, postParsing, printOptionValues, process, process, setSummary, wasInvoked
public String value()
public void parseArg(String arg)
parseArg
in class CommandOption
public String defaultValueToString()
defaultValueToString
in class CommandOption
public String valueToString()
valueToString
in class CommandOption
Copyright © 2016. All rights reserved.