public static enum PeerDownHandler.Reason extends Enum<PeerDownHandler.Reason>
| Enum Constant and Description | 
|---|
REASON_FIVE  | 
REASON_FOUR  | 
REASON_ONE  | 
REASON_THREE  | 
REASON_TWO  | 
| Modifier and Type | Method and Description | 
|---|---|
static PeerDownHandler.Reason | 
forValue(short value)  | 
short | 
getValue()  | 
static PeerDownHandler.Reason | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static PeerDownHandler.Reason[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final PeerDownHandler.Reason REASON_ONE
public static final PeerDownHandler.Reason REASON_TWO
public static final PeerDownHandler.Reason REASON_THREE
public static final PeerDownHandler.Reason REASON_FOUR
public static final PeerDownHandler.Reason REASON_FIVE
public static PeerDownHandler.Reason[] values()
for (PeerDownHandler.Reason c : PeerDownHandler.Reason.values()) System.out.println(c);
public static PeerDownHandler.Reason 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 static PeerDownHandler.Reason forValue(short value)
public short getValue()
Copyright © 2018 OpenDaylight. All rights reserved.