Enum MachineType
- java.lang.Object
-
- java.lang.Enum<MachineType>
-
- org.opennms.netmgt.telemetry.protocols.sflow.parser.proto.flows.MachineType
-
- All Implemented Interfaces:
Serializable
,Comparable<MachineType>
public enum MachineType extends Enum<MachineType>
-
-
Field Summary
Fields Modifier and Type Field Description int
value
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MachineType
from(io.netty.buffer.ByteBuf buffer)
String
toString()
static MachineType
valueOf(String name)
Returns the enum constant of this type with the specified name.static MachineType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.void
writeBson(org.bson.BsonWriter bsonWriter)
-
-
-
Enum Constant Detail
-
unknown
public static final MachineType unknown
-
other
public static final MachineType other
-
x86
public static final MachineType x86
-
x86_64
public static final MachineType x86_64
-
ia64
public static final MachineType ia64
-
sparc
public static final MachineType sparc
-
alpha
public static final MachineType alpha
-
powerpc
public static final MachineType powerpc
-
m68k
public static final MachineType m68k
-
mips
public static final MachineType mips
-
arm
public static final MachineType arm
-
hppa
public static final MachineType hppa
-
s390
public static final MachineType s390
-
-
Method Detail
-
values
public static MachineType[] 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 (MachineType c : MachineType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MachineType 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
-
from
public static MachineType from(io.netty.buffer.ByteBuf buffer) throws InvalidPacketException
- Throws:
InvalidPacketException
-
toString
public String toString()
- Overrides:
toString
in classEnum<MachineType>
-
writeBson
public void writeBson(org.bson.BsonWriter bsonWriter)
-
-