public static enum BgpSessionInfo.BgpState extends Enum<BgpSessionInfo.BgpState> implements BmcEnum
The state of the BGP session.
Modifier and Type | Method and Description |
---|---|
static BgpSessionInfo.BgpState |
create(String key) |
String |
getValue() |
static BgpSessionInfo.BgpState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BgpSessionInfo.BgpState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BgpSessionInfo.BgpState Up
public static final BgpSessionInfo.BgpState Down
public static BgpSessionInfo.BgpState[] values()
for (BgpSessionInfo.BgpState c : BgpSessionInfo.BgpState.values()) System.out.println(c);
public static BgpSessionInfo.BgpState 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 BgpSessionInfo.BgpState create(String key)
Copyright © 2016–2024. All rights reserved.