Enum SessionStatistics.ConnectionStatus
- java.lang.Object
-
- java.lang.Enum<SessionStatistics.ConnectionStatus>
-
- org.opendaylight.openflowplugin.impl.statistics.ofpspecific.SessionStatistics.ConnectionStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<SessionStatistics.ConnectionStatus>
- Enclosing class:
- SessionStatistics
public static enum SessionStatistics.ConnectionStatus extends Enum<SessionStatistics.ConnectionStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONNECTION_CREATED
CONNECTION_DISCONNECTED_BY_DEVICE
CONNECTION_DISCONNECTED_BY_OFP
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SessionStatistics.ConnectionStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static SessionStatistics.ConnectionStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONNECTION_CREATED
public static final SessionStatistics.ConnectionStatus CONNECTION_CREATED
-
CONNECTION_DISCONNECTED_BY_DEVICE
public static final SessionStatistics.ConnectionStatus CONNECTION_DISCONNECTED_BY_DEVICE
-
CONNECTION_DISCONNECTED_BY_OFP
public static final SessionStatistics.ConnectionStatus CONNECTION_DISCONNECTED_BY_OFP
-
-
Method Detail
-
values
public static SessionStatistics.ConnectionStatus[] 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 (SessionStatistics.ConnectionStatus c : SessionStatistics.ConnectionStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SessionStatistics.ConnectionStatus valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-