|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opends.server.util.args.ArgumentGroup
public class ArgumentGroup
Class for organizing options into logical groups when arguement
usage is printed. To use an argument group, create an instance
and use #addArgument(Argument, ArgumentGroup) when adding arguments for
to the parser.
| Constructor Summary | |
|---|---|
ArgumentGroup(Message description,
int priority)
Creates a parameterized instance. |
|
| Method Summary | |
|---|---|
int |
compareTo(ArgumentGroup o)
|
Message |
getDescription()
Gets the description for this group of arguments. |
void |
setDescription(Message description)
Sets the description for this group of arguments. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ArgumentGroup(Message description,
int priority)
description - for options in this group that is printed before
argument descriptions in usage outputpriority - number governing the position of this group within
the usage statement. Groups with higher priority values appear
before groups with lower priority.| Method Detail |
|---|
public Message getDescription()
public void setDescription(Message description)
description - for this argument grouppublic int compareTo(ArgumentGroup o)
compareTo in interface java.lang.Comparable<ArgumentGroup>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||