Package org.onosproject.netconf
Enum NetconfProxyMessage.SubjectType
- java.lang.Object
-
- java.lang.Enum<NetconfProxyMessage.SubjectType>
-
- org.onosproject.netconf.NetconfProxyMessage.SubjectType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<NetconfProxyMessage.SubjectType>
- Enclosing interface:
- NetconfProxyMessage
public static enum NetconfProxyMessage.SubjectType extends java.lang.Enum<NetconfProxyMessage.SubjectType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description END_SUBSCRIPTIONGET_DEVICE_CAPABILITIES_SETGET_SESSION_IDREQUESTREQUEST_SYNCRPCSET_ONOS_CAPABILITIESSTART_SUBSCRIPTION
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NetconfProxyMessage.SubjectTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static NetconfProxyMessage.SubjectType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RPC
public static final NetconfProxyMessage.SubjectType RPC
-
REQUEST
public static final NetconfProxyMessage.SubjectType REQUEST
-
REQUEST_SYNC
public static final NetconfProxyMessage.SubjectType REQUEST_SYNC
-
START_SUBSCRIPTION
public static final NetconfProxyMessage.SubjectType START_SUBSCRIPTION
-
END_SUBSCRIPTION
public static final NetconfProxyMessage.SubjectType END_SUBSCRIPTION
-
GET_SESSION_ID
public static final NetconfProxyMessage.SubjectType GET_SESSION_ID
-
GET_DEVICE_CAPABILITIES_SET
public static final NetconfProxyMessage.SubjectType GET_DEVICE_CAPABILITIES_SET
-
SET_ONOS_CAPABILITIES
public static final NetconfProxyMessage.SubjectType SET_ONOS_CAPABILITIES
-
-
Method Detail
-
values
public static NetconfProxyMessage.SubjectType[] 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 (NetconfProxyMessage.SubjectType c : NetconfProxyMessage.SubjectType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NetconfProxyMessage.SubjectType 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
-
-