Package | Description |
---|---|
org.apache.commons.cli2.builder | |
org.apache.commons.cli2.commandline | |
org.apache.commons.cli2.option | |
org.apache.commons.cli2.util |
Modifier and Type | Method and Description |
---|---|
Group |
GroupBuilder.create()
Creates a new Group instance
|
Modifier and Type | Method and Description |
---|---|
CommandBuilder |
CommandBuilder.withChildren(Group newChildren)
Specifies the children for the next
Command
that is created. |
SwitchBuilder |
SwitchBuilder.withChildren(Group newChildren)
Use this child Group
|
DefaultOptionBuilder |
DefaultOptionBuilder.withChildren(Group newChildren)
Use this child Group
|
Modifier and Type | Method and Description |
---|---|
void |
Parser.setGroup(Group group)
Sets the Group of options to parse against
|
Modifier and Type | Class and Description |
---|---|
class |
GroupImpl
An implementation of Group
|
Modifier and Type | Method and Description |
---|---|
Group |
ParentImpl.getChildren() |
Constructor and Description |
---|
Command(String preferredName,
String description,
Set aliases,
boolean required,
Argument argument,
Group children,
int id)
Creates a new Command instance.
|
DefaultOption(String shortPrefix,
String longPrefix,
boolean burstEnabled,
String preferredName,
String description,
Set aliases,
Set burstAliases,
boolean required,
Argument argument,
Group children,
int id)
Creates a new DefaultOption
|
ParentImpl(Argument argument,
Group children,
String description,
int id,
boolean required) |
Switch(String enabledPrefix,
String disabledPrefix,
String preferredName,
Set aliases,
String description,
boolean required,
Argument argument,
Group children,
int id,
Boolean switchDefault)
Creates a new Switch with the specified parameters
|
Modifier and Type | Method and Description |
---|---|
Group |
HelpFormatter.getGroup() |
Modifier and Type | Method and Description |
---|---|
void |
HelpFormatter.setGroup(Group group)
Sets the Group of Options to document
|
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.