Enum Constant and Description |
---|
ACCESSED |
AGENT |
ARG |
ARGS |
ASCENDING |
BOOLEAN |
CMD |
COMMAND |
CONFIRM_PASSWORD |
CONFIRMATION_CODE |
CREATED |
EMAIL |
EMAIL_CONFIRMED |
ENCRYPTED |
FILTERS |
HELP_CMD |
ID |
ITEM |
LIMIT |
MODIFIED |
NUMBER |
OFFSET |
PARENT |
PASSWORD |
PATH |
PUBLIC |
RECIPIENT |
SENDER |
SORT |
SOURCE |
SUBJECT |
TARGET |
TEXT |
TIME |
TYPE |
VALUE |
VERSION |
Modifier and Type | Method and Description |
---|---|
IChoice[] |
choices() |
java.lang.String |
description() |
IFieldType |
fieldType() |
IFlag[] |
flags() |
java.lang.String |
getHelpString() |
static IArg[] |
getValues() |
boolean |
hasFlag(IFlag flag) |
IArg |
parent() |
java.lang.Object |
parse(java.lang.String value) |
IArgValue |
put(java.lang.Object value) |
IArgList |
subArgs() |
IArgList |
subArgs(java.util.Map<IArg,java.lang.String> input) |
IResponse |
validate(java.lang.String value) |
static Arg |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Arg[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Arg VALUE
public static final Arg TEXT
public static final Arg ID
public static final Arg VERSION
public static final Arg SUBJECT
public static final Arg ARG
public static final Arg SORT
public static final Arg ASCENDING
public static final Arg ARGS
public static final Arg FILTERS
public static final Arg COMMAND
public static final Arg ITEM
public static final Arg PATH
public static final Arg PARENT
public static final Arg SOURCE
public static final Arg TARGET
public static final Arg AGENT
public static final Arg EMAIL
public static final Arg SENDER
public static final Arg RECIPIENT
public static final Arg TIME
public static final Arg CREATED
public static final Arg ACCESSED
public static final Arg MODIFIED
public static final Arg NUMBER
public static final Arg LIMIT
public static final Arg OFFSET
public static final Arg BOOLEAN
public static final Arg PUBLIC
public static final Arg EMAIL_CONFIRMED
public static final Arg ENCRYPTED
public static final Arg PASSWORD
public static final Arg CONFIRM_PASSWORD
public static final Arg CONFIRMATION_CODE
public static final Arg TYPE
public static final Arg CMD
public static final Arg HELP_CMD
public static Arg[] values()
for (Arg c : Arg.values()) System.out.println(c);
public static Arg valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic IFieldType fieldType()
public java.lang.String description()
description
in interface IChoice
public IFlag[] flags()
flags
in interface IFlagObject
public boolean hasFlag(IFlag flag)
hasFlag
in interface IFlagObject
public java.lang.String getHelpString()
getHelpString
in interface IArg
public static IArg[] getValues()