public static enum Argument.Advice extends Enum<Argument.Advice>
Enum Constant and Description |
---|
CLASS_NAME_PATTERN
Indicates that the argument of type java.util.Pattern specifies a
class name pattern.
|
DIRECTORY
Used with an argument of type File this should indicate that
the parameter represents a directory.
|
HEAP_OBJECT
Indicates that the (primitive) Integer or List / Array of Integers
shall represent heap objects.
|
NONE
By default, the conversion and validation rules are applied that
result from the declared type.
|
SAVE
Used with an argument of type File this should indicate that
the parameter represents a file to be created or written to.
|
SECONDARY_SNAPSHOT
Indicates that the argument of type
ISnapshot relates to a snapshot
other than the current one. |
Modifier and Type | Method and Description |
---|---|
static Argument.Advice |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Argument.Advice[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Argument.Advice NONE
public static final Argument.Advice HEAP_OBJECT
public static final Argument.Advice SECONDARY_SNAPSHOT
ISnapshot
relates to a snapshot
other than the current one.public static final Argument.Advice CLASS_NAME_PATTERN
public static final Argument.Advice DIRECTORY
public static final Argument.Advice SAVE
public static Argument.Advice[] values()
for (Argument.Advice c : Argument.Advice.values()) System.out.println(c);
public static Argument.Advice valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null