@Beta public enum LeaderLocation extends Enum<LeaderLocation>
| Enum Constant and Description | 
|---|
| LOCALThe leader is co-located on this node. | 
| REMOTEThe leader is resident on a different node. | 
| UNKNOWNThe leader is residence is currently unknown. | 
| Modifier and Type | Method and Description | 
|---|---|
| static LeaderLocation | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static LeaderLocation[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final LeaderLocation LOCAL
public static final LeaderLocation REMOTE
public static final LeaderLocation UNKNOWN
public static LeaderLocation[] values()
for (LeaderLocation c : LeaderLocation.values()) System.out.println(c);
public static LeaderLocation 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 © 2019 OpenDaylight. All rights reserved.