Module org.snmp4j

Enum Class TargetBuilder.PrivProtocol

java.lang.Object
java.lang.Enum<TargetBuilder.PrivProtocol>
org.snmp4j.fluent.TargetBuilder.PrivProtocol
All Implemented Interfaces:
Serializable, Comparable<TargetBuilder.PrivProtocol>, Constable
Enclosing class:
TargetBuilder<A extends Address>

public static enum TargetBuilder.PrivProtocol extends Enum<TargetBuilder.PrivProtocol>
  • Enum Constant Details

  • Field Details

    • protocolID

      private final OID protocolID
    • name

      private final String name
  • Constructor Details

    • PrivProtocol

      private PrivProtocol(String name, OID protocolID)
  • Method Details

    • values

      public static TargetBuilder.PrivProtocol[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static TargetBuilder.PrivProtocol valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getProtocolID

      public OID getProtocolID()
    • getName

      public String getName()