Enum Class SMB2ShareAccess

java.lang.Object
java.lang.Enum<SMB2ShareAccess>
com.hierynomus.mssmb2.SMB2ShareAccess
All Implemented Interfaces:
EnumWithValue<SMB2ShareAccess>, Serializable, Comparable<SMB2ShareAccess>, Constable

public enum SMB2ShareAccess extends Enum<SMB2ShareAccess> implements EnumWithValue<SMB2ShareAccess>
SMB2 Create 2.2.13 - SMB2ShareAccess
  • Enum Constant Details

  • Field Details

  • Constructor Details

    • SMB2ShareAccess

      private SMB2ShareAccess(long value)
  • Method Details

    • values

      public static SMB2ShareAccess[] 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 SMB2ShareAccess 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<SMB2ShareAccess>