public enum BgpAlarmErrorCodes extends Enum<BgpAlarmErrorCodes>
| Enum Constant and Description |
|---|
CEASE_COLLISION_RESOLUTION |
CEASE_CONNECT_REJECT |
CEASE_MAX_PREFIX |
CEASE_OUT_OF_RESOURCE |
CEASE_PEER_UNCONFIG |
ERROR_IGNORE |
| Modifier and Type | Method and Description |
|---|---|
static BgpAlarmErrorCodes |
checkErrorSubcode(int subcode) |
String |
getAlarmType() |
static BgpAlarmErrorCodes |
valueOf(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.
|
public static final BgpAlarmErrorCodes CEASE_MAX_PREFIX
public static final BgpAlarmErrorCodes CEASE_PEER_UNCONFIG
public static final BgpAlarmErrorCodes CEASE_CONNECT_REJECT
public static final BgpAlarmErrorCodes CEASE_COLLISION_RESOLUTION
public static final BgpAlarmErrorCodes CEASE_OUT_OF_RESOURCE
public static final BgpAlarmErrorCodes ERROR_IGNORE
public static BgpAlarmErrorCodes[] values()
for (BgpAlarmErrorCodes c : BgpAlarmErrorCodes.values()) System.out.println(c);
public static BgpAlarmErrorCodes 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 String getAlarmType()
public static BgpAlarmErrorCodes checkErrorSubcode(int subcode)
Copyright © 2019 OpenDaylight. All rights reserved.