Enum Class SMB2ShareFlags

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

public enum SMB2ShareFlags extends Enum<SMB2ShareFlags> implements EnumWithValue<SMB2ShareFlags>
[MS-SMB2].pdf 2.2.10 TREE_CONNECT Response ShareFlags
  • Enum Constant Details

    • SMB2_SHAREFLAG_MANUAL_CACHING

      public static final SMB2ShareFlags SMB2_SHAREFLAG_MANUAL_CACHING
    • SMB2_SHAREFLAG_AUTO_CACHING

      public static final SMB2ShareFlags SMB2_SHAREFLAG_AUTO_CACHING
    • SMB2_SHAREFLAG_VDO_CACHING

      public static final SMB2ShareFlags SMB2_SHAREFLAG_VDO_CACHING
    • SMB2_SHAREFLAG_NO_CACHING

      public static final SMB2ShareFlags SMB2_SHAREFLAG_NO_CACHING
    • SMB2_SHAREFLAG_DFS

      public static final SMB2ShareFlags SMB2_SHAREFLAG_DFS
    • SMB2_SHAREFLAG_DFS_ROOT

      public static final SMB2ShareFlags SMB2_SHAREFLAG_DFS_ROOT
    • SMB2_SHAREFLAG_RESTRICT_EXCLUSIVE_OPENS

      public static final SMB2ShareFlags SMB2_SHAREFLAG_RESTRICT_EXCLUSIVE_OPENS
    • SMB2_SHAREFLAG_FORCE_SHARED_DELETE

      public static final SMB2ShareFlags SMB2_SHAREFLAG_FORCE_SHARED_DELETE
    • SMB2_SHAREFLAG_ALLOW_NAMESPACE_CACHING

      public static final SMB2ShareFlags SMB2_SHAREFLAG_ALLOW_NAMESPACE_CACHING
    • SMB2_SHAREFLAG_ACCESS_BASED_DIRECTORY_ENUM

      public static final SMB2ShareFlags SMB2_SHAREFLAG_ACCESS_BASED_DIRECTORY_ENUM
    • SMB2_SHAREFLAG_FORCE_LEVELII_OPLOCK

      public static final SMB2ShareFlags SMB2_SHAREFLAG_FORCE_LEVELII_OPLOCK
    • SMB2_SHAREFLAG_ENABLE_HASH_V1

      public static final SMB2ShareFlags SMB2_SHAREFLAG_ENABLE_HASH_V1
    • SMB2_SHAREFLAG_ENABLE_HASH_V2

      public static final SMB2ShareFlags SMB2_SHAREFLAG_ENABLE_HASH_V2
    • SMB2_SHAREFLAG_ENCRYPT_DATA

      public static final SMB2ShareFlags SMB2_SHAREFLAG_ENCRYPT_DATA
    • SMB2_SHAREFLAG_IDENTITY_REMOTING

      public static final SMB2ShareFlags SMB2_SHAREFLAG_IDENTITY_REMOTING
  • Field Details

    • value

      private long value
  • Constructor Details

    • SMB2ShareFlags

      private SMB2ShareFlags(long value)
  • Method Details

    • values

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