Enum LegacyPayloadData.ProtocolName
- java.lang.Object
-
- java.lang.Enum<LegacyPayloadData.ProtocolName>
-
- io.heraldprox.herald.sensor.datatype.LegacyPayloadData.ProtocolName
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LegacyPayloadData.ProtocolName>
- Enclosing class:
- LegacyPayloadData
public static enum LegacyPayloadData.ProtocolName extends java.lang.Enum<LegacyPayloadData.ProtocolName>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADVERT
HERALD
NOT_AVAILABLE
OPENTRACE
UNKNOWN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LegacyPayloadData.ProtocolName
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LegacyPayloadData.ProtocolName[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final LegacyPayloadData.ProtocolName UNKNOWN
-
NOT_AVAILABLE
public static final LegacyPayloadData.ProtocolName NOT_AVAILABLE
-
HERALD
public static final LegacyPayloadData.ProtocolName HERALD
-
OPENTRACE
public static final LegacyPayloadData.ProtocolName OPENTRACE
-
ADVERT
public static final LegacyPayloadData.ProtocolName ADVERT
-
-
Method Detail
-
values
public static LegacyPayloadData.ProtocolName[] 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 (LegacyPayloadData.ProtocolName c : LegacyPayloadData.ProtocolName.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LegacyPayloadData.ProtocolName 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
-
-