Enum ListValue.Semantic
- java.lang.Object
-
- java.lang.Enum<ListValue.Semantic>
-
- org.opennms.netmgt.telemetry.protocols.netflow.parser.ie.values.ListValue.Semantic
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ListValue.Semantic>
- Enclosing class:
- ListValue
public static enum ListValue.Semantic extends java.lang.Enum<ListValue.Semantic>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL_OF
EXACTLY_ONE_OF
NONE_OF
ONE_OR_MORE_OF
ORDERED
UNDEFINED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ListValue.Semantic
parse(io.netty.buffer.ByteBuf buffer, int i)
static ListValue.Semantic
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ListValue.Semantic[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNDEFINED
public static final ListValue.Semantic UNDEFINED
-
NONE_OF
public static final ListValue.Semantic NONE_OF
-
EXACTLY_ONE_OF
public static final ListValue.Semantic EXACTLY_ONE_OF
-
ONE_OR_MORE_OF
public static final ListValue.Semantic ONE_OR_MORE_OF
-
ALL_OF
public static final ListValue.Semantic ALL_OF
-
ORDERED
public static final ListValue.Semantic ORDERED
-
-
Method Detail
-
values
public static ListValue.Semantic[] 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 (ListValue.Semantic c : ListValue.Semantic.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ListValue.Semantic 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
-
parse
public static ListValue.Semantic parse(io.netty.buffer.ByteBuf buffer, int i) throws InvalidPacketException
- Throws:
InvalidPacketException
-
-