public enum Accept extends Enum<Accept>
ValidationAction.acceptFile(net.sf.basedb.core.FileSetMember)
method.Enum Constant and Description |
---|
VALIDATE_IMMEDIATELY
The file is handled by the validator and should be validated immediately.
|
VALIDATE_LATER
The file is handled by the validator but should not be validated until
all files in the file set has been asked for acception.
|
Modifier and Type | Method and Description |
---|---|
static Accept |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Accept[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Accept VALIDATE_IMMEDIATELY
public static final Accept VALIDATE_LATER
public static Accept[] values()
for (Accept c : Accept.values()) System.out.println(c);
public static Accept 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