Package com.hierynomus.msdtyp
Enum Class AccessMask
- All Implemented Interfaces:
EnumWithValue<AccessMask>
,Serializable
,Comparable<AccessMask>
,Constable
MS-DTYP 2.4.3 ACCESS_MASK
Its ok to find multiple names pointing to the same values, Since the same access mask when applied to File, Folder or other object are just named/called differently.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface com.hierynomus.protocol.commons.EnumWithValue
EnumWithValue.EnumUtils
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
getValue()
static AccessMask
Returns the enum constant of this class with the specified name.static AccessMask[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FILE_READ_DATA
-
FILE_WRITE_DATA
-
FILE_APPEND_DATA
-
FILE_EXECUTE
-
FILE_LIST_DIRECTORY
-
FILE_ADD_FILE
-
FILE_ADD_SUBDIRECTORY
-
FILE_TRAVERSE
-
FILE_DELETE_CHILD
-
FILE_READ_ATTRIBUTES
-
FILE_WRITE_ATTRIBUTES
-
FILE_READ_EA
-
FILE_WRITE_EA
-
DELETE
-
READ_CONTROL
-
WRITE_DAC
-
WRITE_OWNER
-
SYNCHRONIZE
-
ACCESS_SYSTEM_SECURITY
-
MAXIMUM_ALLOWED
-
GENERIC_ALL
-
GENERIC_EXECUTE
-
GENERIC_WRITE
-
GENERIC_READ
-
ADS_RIGHT_DS_CONTROL_ACCESS
-
ADS_RIGHT_DS_CREATE_CHILD
-
ADS_RIGHT_DS_DELETE_CHILD
-
ADS_RIGHT_DS_READ_PROP
-
ADS_RIGHT_DS_WRITE_PROP
-
ADS_RIGHT_DS_SELF
-
-
Field Details
-
value
private long value
-
-
Constructor Details
-
AccessMask
private AccessMask(long value)
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getValue
public long getValue()- Specified by:
getValue
in interfaceEnumWithValue<AccessMask>
-