Enum IntDeviceConfig.TelemetrySpec
- java.lang.Object
-
- java.lang.Enum<IntDeviceConfig.TelemetrySpec>
-
- org.onosproject.net.behaviour.inbandtelemetry.IntDeviceConfig.TelemetrySpec
-
- All Implemented Interfaces:
Serializable
,Comparable<IntDeviceConfig.TelemetrySpec>
- Enclosing class:
- IntDeviceConfig
public static enum IntDeviceConfig.TelemetrySpec extends Enum<IntDeviceConfig.TelemetrySpec>
Represents a type of telemetry spec to collect in the dataplane.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IntDeviceConfig.TelemetrySpec
valueOf(String name)
Returns the enum constant of this type with the specified name.static IntDeviceConfig.TelemetrySpec[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INT
public static final IntDeviceConfig.TelemetrySpec INT
Embeds telemetry metadata according to the INT specification.- See Also:
- INT sepcification
-
IOAM
public static final IntDeviceConfig.TelemetrySpec IOAM
Embeds telemetry metadata according to the OAM specification.- See Also:
- Data fields for In-situ OAM
-
-
Method Detail
-
values
public static IntDeviceConfig.TelemetrySpec[] 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 (IntDeviceConfig.TelemetrySpec c : IntDeviceConfig.TelemetrySpec.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IntDeviceConfig.TelemetrySpec 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
-
-