public static enum SlaveServerDetection.SlaveRelationShip extends Enum<SlaveServerDetection.SlaveRelationShip>
Enum Constant and Description |
---|
FAILOVER_MASTER |
SLAVE_SEVER |
Modifier and Type | Method and Description |
---|---|
String |
getCode() |
String |
getDescription() |
static SlaveServerDetection.SlaveRelationShip |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SlaveServerDetection.SlaveRelationShip[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SlaveServerDetection.SlaveRelationShip SLAVE_SEVER
public static final SlaveServerDetection.SlaveRelationShip FAILOVER_MASTER
public static SlaveServerDetection.SlaveRelationShip[] values()
for (SlaveServerDetection.SlaveRelationShip c : SlaveServerDetection.SlaveRelationShip.values()) System.out.println(c);
public static SlaveServerDetection.SlaveRelationShip 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 String getCode()
public String getDescription()
Copyright © 2018 Hitachi Vantara. All rights reserved.