public enum ProtectionType extends java.lang.Enum<ProtectionType>
Enum Constant and Description |
---|
continuous_copy |
full_copy |
rp |
snapshot |
Modifier and Type | Method and Description |
---|---|
static ProtectionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProtectionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProtectionType rp
public static final ProtectionType continuous_copy
public static final ProtectionType snapshot
public static final ProtectionType full_copy
public static ProtectionType[] values()
for (ProtectionType c : ProtectionType.values()) System.out.println(c);
public static ProtectionType 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 null