public class CommandLineOption extends Object
| Constructor and Description |
|---|
CommandLineOption(Iterable<String> options) |
| Modifier and Type | Method and Description |
|---|---|
CommandLineOption |
deprecated(String deprecationWarning) |
CommandLineOption |
experimental() |
boolean |
getAllowsArguments() |
boolean |
getAllowsMultipleArguments() |
String |
getDeprecationWarning() |
String |
getDescription() |
Set<String> |
getOptions() |
String |
getSubcommand() |
CommandLineOption |
hasArgument() |
CommandLineOption |
hasArguments() |
CommandLineOption |
hasDescription(String description) |
CommandLineOption |
mapsToSubcommand(String command) |
public CommandLineOption hasArgument()
public CommandLineOption hasArguments()
public String getSubcommand()
public CommandLineOption mapsToSubcommand(String command)
public String getDescription()
public CommandLineOption hasDescription(String description)
public boolean getAllowsArguments()
public boolean getAllowsMultipleArguments()
public CommandLineOption deprecated(String deprecationWarning)
public CommandLineOption experimental()
public String getDeprecationWarning()
Copyright © 2013. All rights reserved