public enum MechanismType extends Enum<MechanismType>
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static MechanismType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MechanismType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MechanismType SNMPTCP
public static final MechanismType SNMPUDP
public static final MechanismType XMLTCP
public static final MechanismType XMLUDP
public static MechanismType[] values()
for (MechanismType c : MechanismType.values()) System.out.println(c);
public static MechanismType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<MechanismType>
Copyright © 2020. All rights reserved.