public enum RedundancyLevel extends java.lang.Enum<RedundancyLevel>
Enum Constant and Description |
---|
Four |
NotSupport |
One |
Three |
Two |
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
int |
value() |
static RedundancyLevel |
valueOf(int value) |
static RedundancyLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RedundancyLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RedundancyLevel One
public static final RedundancyLevel Two
public static final RedundancyLevel Three
public static final RedundancyLevel Four
public static final RedundancyLevel NotSupport
public static RedundancyLevel[] values()
for (RedundancyLevel c : RedundancyLevel.values()) System.out.println(c);
public static RedundancyLevel 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 int getValue()
public static RedundancyLevel valueOf(int value)
public int value()