Package org.plumelib.options
Annotation Interface OptionGroup
Indicates which
@Option-annotated fields are part of an option group — a related
set of user-visible features. Option groups are documented in Options.
Write OptionGroup on the first field in every group. Every @Option-annotated
field must be part of a group if any of them are.
@OptionGroup must appear after a field's Javadoc comment, if any. A Javadoc comment
between @OptionGroup and the field is ignored. For example, you must write
/** comment for first option*/
@OptionGroup("the group")
@Option("the first option")
public static int firstOption = blah;
instead of
@OptionGroup("the group")
/** comment for first option*/
@Option("the first option")
public static int firstOption = blah;- See Also:
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanTrue if this option group is unpublicized.
-
Element Details
-
value
String valueName of this option group. Must be unique across all objects that are passed to theOptionsconstructor.- Returns:
- the name of this option group
-
unpublicized
boolean unpublicizedTrue if this option group is unpublicized.- Returns:
- true if this option group is unpublicized, false if it is publicized
- Default:
false
-