@Deprecated public static enum Constants.LeadershipStatus extends Enum<Constants.LeadershipStatus>
| Enum Constant and Description | 
|---|
LEADER
Deprecated.  
  | 
NON_LEADER
Deprecated.  
  | 
| Modifier and Type | Method and Description | 
|---|---|
static Constants.LeadershipStatus | 
decode(int value)
Deprecated.  
Decode the given integer into a LeadershipStatus 
 | 
static Constants.LeadershipStatus | 
decode(String value)
Deprecated.  
Decode the given String into a LeadershipStatus 
 | 
int | 
toInt()
Deprecated.  
Convert the leadership status to integer 
 | 
static Constants.LeadershipStatus | 
valueOf(String name)
Deprecated.  
Returns the enum constant of this type with the specified name. 
 | 
static Constants.LeadershipStatus[] | 
values()
Deprecated.  
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final Constants.LeadershipStatus NON_LEADER
public static final Constants.LeadershipStatus LEADER
public static Constants.LeadershipStatus[] values()
for (Constants.LeadershipStatus c : Constants.LeadershipStatus.values()) System.out.println(c);
public static Constants.LeadershipStatus 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 int toInt()
public static Constants.LeadershipStatus decode(int value) throws StreamBaseException
value - input statusStreamBaseException - for an unknown LeadershipStatuspublic static Constants.LeadershipStatus decode(String value) throws StreamBaseException
value - input statusStreamBaseException - for an unknown LeadershipStatusCopyright © 2015–2019 Cloud Software Group, Inc.. All rights reserved.