public enum PropertyCheckEnum extends Enum<PropertyCheckEnum>
Enum Constant and Description |
---|
MUST_BE_SET |
MUST_NOT_BE_SET |
NO_VALUE_CHECK |
STRING_MUST_NOT_BE_EMPTY |
STRING_SHOULD_NOT_BE_EMPTY |
Modifier and Type | Method and Description |
---|---|
static PropertyCheckEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PropertyCheckEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PropertyCheckEnum NO_VALUE_CHECK
public static final PropertyCheckEnum MUST_NOT_BE_SET
public static final PropertyCheckEnum MUST_BE_SET
public static final PropertyCheckEnum STRING_SHOULD_NOT_BE_EMPTY
public static final PropertyCheckEnum STRING_MUST_NOT_BE_EMPTY
public static PropertyCheckEnum[] values()
for (PropertyCheckEnum c : PropertyCheckEnum.values()) System.out.println(c);
public static PropertyCheckEnum 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 nullCopyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.