Enum Class SMB2SetInfoRequest.SMB2InfoType

java.lang.Object
java.lang.Enum<SMB2SetInfoRequest.SMB2InfoType>
com.hierynomus.mssmb2.messages.SMB2SetInfoRequest.SMB2InfoType
All Implemented Interfaces:
EnumWithValue<SMB2SetInfoRequest.SMB2InfoType>, Serializable, Comparable<SMB2SetInfoRequest.SMB2InfoType>, Constable
Enclosing class:
SMB2SetInfoRequest

public static enum SMB2SetInfoRequest.SMB2InfoType extends Enum<SMB2SetInfoRequest.SMB2InfoType> implements EnumWithValue<SMB2SetInfoRequest.SMB2InfoType>
  • Enum Constant Details

  • Field Details

    • value

      private long value
  • Constructor Details

    • SMB2InfoType

      private SMB2InfoType(long value)
  • Method Details

    • values

      public static SMB2SetInfoRequest.SMB2InfoType[] 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 SMB2SetInfoRequest.SMB2InfoType 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
    • getValue

      public long getValue()
      Specified by:
      getValue in interface EnumWithValue<SMB2SetInfoRequest.SMB2InfoType>