Enum BgpAlarmErrorCodes
- java.lang.Object
-
- java.lang.Enum<BgpAlarmErrorCodes>
-
- org.opendaylight.netvirt.bgpmanager.oam.BgpAlarmErrorCodes
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<BgpAlarmErrorCodes>
public enum BgpAlarmErrorCodes extends java.lang.Enum<BgpAlarmErrorCodes>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CEASE_COLLISION_RESOLUTION
CEASE_CONNECT_REJECT
CEASE_MAX_PREFIX
CEASE_OUT_OF_RESOURCE
CEASE_PEER_UNCONFIG
ERROR_IGNORE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BgpAlarmErrorCodes
checkErrorSubcode(int subcode)
java.lang.String
getAlarmType()
static BgpAlarmErrorCodes
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BgpAlarmErrorCodes[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CEASE_MAX_PREFIX
public static final BgpAlarmErrorCodes CEASE_MAX_PREFIX
-
CEASE_PEER_UNCONFIG
public static final BgpAlarmErrorCodes CEASE_PEER_UNCONFIG
-
CEASE_CONNECT_REJECT
public static final BgpAlarmErrorCodes CEASE_CONNECT_REJECT
-
CEASE_COLLISION_RESOLUTION
public static final BgpAlarmErrorCodes CEASE_COLLISION_RESOLUTION
-
CEASE_OUT_OF_RESOURCE
public static final BgpAlarmErrorCodes CEASE_OUT_OF_RESOURCE
-
ERROR_IGNORE
public static final BgpAlarmErrorCodes ERROR_IGNORE
-
-
Method Detail
-
values
public static BgpAlarmErrorCodes[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BgpAlarmErrorCodes c : BgpAlarmErrorCodes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BgpAlarmErrorCodes valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getAlarmType
public java.lang.String getAlarmType()
-
checkErrorSubcode
public static BgpAlarmErrorCodes checkErrorSubcode(int subcode)
-
-