public class CommandLineOption extends Object
Constructor and Description |
---|
CommandLineOption(Iterable<String> options) |
Modifier and Type | Method and Description |
---|---|
CommandLineOption |
deprecated(String deprecationWarning) |
boolean |
getAllowsArguments() |
boolean |
getAllowsMultipleArguments() |
String |
getDeprecationWarning() |
String |
getDescription() |
Set<String> |
getOptions() |
String |
getSubcommand() |
CommandLineOption |
hasArgument() |
CommandLineOption |
hasArguments() |
CommandLineOption |
hasDescription(String description) |
CommandLineOption |
incubating() |
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 incubating()
public String getDeprecationWarning()
Copyright © 2016–2021 The Apache Software Foundation. All rights reserved.