|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.cli2.DisplaySetting
public class DisplaySetting
An enum of possible display settings. These settings are used to control the presence of various features in the String representations of options, CommandLines and usage strings. Usually a Set of DisplaySetting instances will be passed to a method that will lookup the presence of the values.
Field Summary | |
---|---|
static Set |
ALL
A Set guaranteed to contain all possible DisplaySetting values |
static DisplaySetting |
DISPLAY_ALIASES
Indicates that aliases should be included |
static DisplaySetting |
DISPLAY_ARGUMENT_BRACKETED
Indicates that arguments should be included bracketed |
static DisplaySetting |
DISPLAY_ARGUMENT_NUMBERED
Indicates that arguments should be included numbered |
static DisplaySetting |
DISPLAY_GROUP_ARGUMENT
Indicates that group arguments should be included |
static DisplaySetting |
DISPLAY_GROUP_EXPANDED
Indicates that groups should be included expanded |
static DisplaySetting |
DISPLAY_GROUP_NAME
Indicates that group names should be included |
static DisplaySetting |
DISPLAY_GROUP_OUTER
Indicates that group outer brackets should be included |
static DisplaySetting |
DISPLAY_OPTIONAL
Indicates that optionality should be included |
static DisplaySetting |
DISPLAY_OPTIONAL_CHILD_GROUP
Indicates that optional child groups should be displayed in square brackets. |
static DisplaySetting |
DISPLAY_PARENT_ARGUMENT
Indicates that arguments of Parents should be included |
static DisplaySetting |
DISPLAY_PARENT_CHILDREN
Indicates that children of Parents should be included |
static DisplaySetting |
DISPLAY_PROPERTY_OPTION
Indicates that property options should be included |
static DisplaySetting |
DISPLAY_SWITCH_DISABLED
Indicates that switches should be included disabled |
static DisplaySetting |
DISPLAY_SWITCH_ENABLED
Indicates that switches should be included enabled |
static Set |
NONE
A Set guaranteed to contain no DisplaySetting values |
Method Summary | |
---|---|
boolean |
equals(Object that)
|
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final Set ALL
public static final Set NONE
public static final DisplaySetting DISPLAY_ALIASES
public static final DisplaySetting DISPLAY_OPTIONAL
public static final DisplaySetting DISPLAY_OPTIONAL_CHILD_GROUP
public static final DisplaySetting DISPLAY_PROPERTY_OPTION
public static final DisplaySetting DISPLAY_SWITCH_ENABLED
public static final DisplaySetting DISPLAY_SWITCH_DISABLED
public static final DisplaySetting DISPLAY_GROUP_NAME
public static final DisplaySetting DISPLAY_GROUP_EXPANDED
public static final DisplaySetting DISPLAY_GROUP_ARGUMENT
public static final DisplaySetting DISPLAY_GROUP_OUTER
public static final DisplaySetting DISPLAY_ARGUMENT_NUMBERED
public static final DisplaySetting DISPLAY_ARGUMENT_BRACKETED
public static final DisplaySetting DISPLAY_PARENT_ARGUMENT
public static final DisplaySetting DISPLAY_PARENT_CHILDREN
Method Detail |
---|
public int hashCode()
hashCode
in class Object
public boolean equals(Object that)
equals
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |