Package | Description |
---|---|
com.martiansoftware.jsap |
Modifier and Type | Method and Description |
---|---|
UnflaggedOption |
UnflaggedOption.setDefault(String defaultValue)
Sets a default value for this parameter.
|
UnflaggedOption |
UnflaggedOption.setDefault(String[] defaultValues)
Sets one or more default values for this parameter.
|
UnflaggedOption |
UnflaggedOption.setGreedy(boolean greedy)
Sets whether this UnflaggedOption is greedy.
|
UnflaggedOption |
UnflaggedOption.setList(boolean isList)
Sets whether this UnflaggedOption is a list.
|
UnflaggedOption |
UnflaggedOption.setListSeparator(char listSeparator)
Sets the list separator character for this UnflaggedOption.
|
UnflaggedOption |
UnflaggedOption.setRequired(boolean required)
Sets whether this UnflaggedOption is required.
|
UnflaggedOption |
UnflaggedOption.setStringParser(StringParser stringParser)
Sets the StringParser to which this UnflaggedOption's parse() method
should delegate.
|
UnflaggedOption |
UnflaggedOption.setUsageName(String usageName)
Sets the name that will be displayed when getUsage() is called
|
Copyright © 2016. All rights reserved.