public enum HaPolicy extends Enum<HaPolicy>
| Modifier and Type | Method and Description |
|---|---|
static HaPolicy |
fromResourceName(String resourceName) |
static HaPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HaPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HaPolicy LIVE_ONLY
public static final HaPolicy REPLICATION_COLOCATED_MASTER
public static final HaPolicy REPLICATION_COLOCATED_SLAVE
public static final HaPolicy REPLICATION_COLOCATED
public static final HaPolicy REPLICATION_MASTER
public static final HaPolicy REPLICATION_SLAVE
public static final HaPolicy SHARED_STORE_COLOCATED_MASTER
public static final HaPolicy SHARED_STORE_COLOCATED_SLAVE
public static final HaPolicy SHARED_STORE_COLOCATED
public static final HaPolicy SHARED_STORE_MASTER
public static final HaPolicy SHARED_STORE_SLAVE
public static HaPolicy[] values()
for (HaPolicy c : HaPolicy.values()) System.out.println(c);
public static HaPolicy 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 © 2018 JBoss, a division of Red Hat. All rights reserved.