Package | Description |
---|---|
org.apache.commons.cli2.builder |
Modifier and Type | Method and Description |
---|---|
CommandBuilder |
CommandBuilder.reset()
Resets the CommandBuilder to the defaults for a new Command.
|
CommandBuilder |
CommandBuilder.withArgument(Argument newArgument)
Specifies the argument for the next
Command
that is created. |
CommandBuilder |
CommandBuilder.withChildren(Group newChildren)
Specifies the children for the next
Command
that is created. |
CommandBuilder |
CommandBuilder.withDescription(String newDescription)
Specifies the description for the next
Command
that is created. |
CommandBuilder |
CommandBuilder.withId(int newId)
Specifies the id for the next
Command that is created. |
CommandBuilder |
CommandBuilder.withName(String name)
Specifies the name for the next
Command
that is created. |
CommandBuilder |
CommandBuilder.withRequired(boolean newRequired)
Specifies whether the next
Command created is
required or not. |
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.