Package com.hierynomus.mssmb2
Enum SMB2ShareFlags
- java.lang.Object
-
- java.lang.Enum<SMB2ShareFlags>
-
- com.hierynomus.mssmb2.SMB2ShareFlags
-
- All Implemented Interfaces:
EnumWithValue<SMB2ShareFlags>
,java.io.Serializable
,java.lang.Comparable<SMB2ShareFlags>
,java.lang.constant.Constable
public enum SMB2ShareFlags extends java.lang.Enum<SMB2ShareFlags> implements EnumWithValue<SMB2ShareFlags>
[MS-SMB2].pdf 2.2.10 TREE_CONNECT Response ShareFlags
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Enum
java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
-
Nested classes/interfaces inherited from interface com.hierynomus.protocol.commons.EnumWithValue
EnumWithValue.EnumUtils
-
-
Enum Constant Summary
-
Method Summary
Modifier and Type Method Description long
getValue()
static SMB2ShareFlags
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SMB2ShareFlags[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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
-
-
Method Detail
-
values
public static SMB2ShareFlags[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SMB2ShareFlags valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getValue
public long getValue()
- Specified by:
getValue
in interfaceEnumWithValue<SMB2ShareFlags>
-
-