public enum RedundantServerMode extends Enum<RedundantServerMode> implements Enumeration
| Modifier and Type | Class and Description |
|---|---|
static class |
RedundantServerMode.Builder |
| Enum Constant and Description |
|---|
BackupNotReady |
BackupReady |
PrimaryOnly |
PrimaryWithBackup |
| Modifier and Type | Field and Description |
|---|---|
static EnumSet<RedundantServerMode> |
ALL |
static EnumSet<RedundantServerMode> |
NONE |
static EnumerationSpecification |
SPECIFICATION |
| Modifier and Type | Method and Description |
|---|---|
static RedundantServerMode.Builder |
builder() |
static UnsignedInteger |
getMask(Collection<RedundantServerMode> list) |
static UnsignedInteger |
getMask(RedundantServerMode... list) |
static EnumSet<RedundantServerMode> |
getSet(int mask) |
static EnumSet<RedundantServerMode> |
getSet(UnsignedInteger mask) |
int |
getValue()
Return the integer value of this enumeration value.
|
EnumerationSpecification |
specification()
Returns the specification of the
Enumeration. |
RedundantServerMode.Builder |
toBuilder()
Returns a builder which can be used to make other instances of the
Enumeration. |
static RedundantServerMode |
valueOf(int value) |
static RedundantServerMode[] |
valueOf(int[] value) |
static RedundantServerMode |
valueOf(Integer value) |
static RedundantServerMode[] |
valueOf(Integer[] value) |
static RedundantServerMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RedundantServerMode |
valueOf(UnsignedInteger value) |
static RedundantServerMode[] |
valueOf(UnsignedInteger[] value) |
static RedundantServerMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetDescription, getValueAsStringpublic static final RedundantServerMode PrimaryWithBackup
public static final RedundantServerMode PrimaryOnly
public static final RedundantServerMode BackupReady
public static final RedundantServerMode BackupNotReady
public static final EnumerationSpecification SPECIFICATION
public static final EnumSet<RedundantServerMode> NONE
public static final EnumSet<RedundantServerMode> ALL
public static RedundantServerMode[] values()
for (RedundantServerMode c : RedundantServerMode.values()) System.out.println(c);
public static RedundantServerMode 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 nullpublic EnumerationSpecification specification()
EnumerationEnumeration.specification in interface Enumerationpublic static RedundantServerMode valueOf(int value)
public static RedundantServerMode valueOf(Integer value)
public static RedundantServerMode valueOf(UnsignedInteger value)
public static RedundantServerMode[] valueOf(int[] value)
public static RedundantServerMode[] valueOf(Integer[] value)
public static RedundantServerMode[] valueOf(UnsignedInteger[] value)
public static UnsignedInteger getMask(RedundantServerMode... list)
public static UnsignedInteger getMask(Collection<RedundantServerMode> list)
public static EnumSet<RedundantServerMode> getSet(UnsignedInteger mask)
public static EnumSet<RedundantServerMode> getSet(int mask)
public int getValue()
EnumerationgetValue in interface Enumerationpublic static RedundantServerMode.Builder builder()
public RedundantServerMode.Builder toBuilder()
EnumerationEnumeration.toBuilder in interface EnumerationCopyright © 2026. All rights reserved.