public static enum HAServiceProtocol.RequestSource extends Enum<HAServiceProtocol.RequestSource>
| Enum Constant and Description | 
|---|
REQUEST_BY_USER  | 
REQUEST_BY_USER_FORCED  | 
REQUEST_BY_ZKFC  | 
| Modifier and Type | Method and Description | 
|---|---|
static HAServiceProtocol.RequestSource | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static HAServiceProtocol.RequestSource[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final HAServiceProtocol.RequestSource REQUEST_BY_USER
public static final HAServiceProtocol.RequestSource REQUEST_BY_USER_FORCED
public static final HAServiceProtocol.RequestSource REQUEST_BY_ZKFC
public static HAServiceProtocol.RequestSource[] values()
for (HAServiceProtocol.RequestSource c : HAServiceProtocol.RequestSource.values()) System.out.println(c);
public static HAServiceProtocol.RequestSource 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 Apache Software Foundation. All Rights Reserved.