public static enum PrimaryBackupServer.Role extends Enum<PrimaryBackupServer.Role>
| Enum Constant and Description |
|---|
BACKUP
Backup service role.
|
NONE
None service role.
|
PRIMARY
Primary service role.
|
| Modifier and Type | Method and Description |
|---|---|
static PrimaryBackupServer.Role |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrimaryBackupServer.Role[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrimaryBackupServer.Role PRIMARY
public static final PrimaryBackupServer.Role BACKUP
public static final PrimaryBackupServer.Role NONE
public static PrimaryBackupServer.Role[] values()
for (PrimaryBackupServer.Role c : PrimaryBackupServer.Role.values()) System.out.println(c);
public static PrimaryBackupServer.Role 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 © 2013–2018. All rights reserved.