Package com.hierynomus.mssmb2
Enum Class SMB2ShareAccess
- All Implemented Interfaces:
EnumWithValue<SMB2ShareAccess>
,Serializable
,Comparable<SMB2ShareAccess>
,Constable
SMB2 Create 2.2.13 - SMB2ShareAccess
-
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 Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
getValue()
static SMB2ShareAccess
Returns the enum constant of this class with the specified name.static SMB2ShareAccess[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FILE_SHARE_READ
-
FILE_SHARE_WRITE
-
FILE_SHARE_DELETE
-
-
Field Details
-
ALL
-
value
private long value
-
-
Constructor Details
-
SMB2ShareAccess
private SMB2ShareAccess(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<SMB2ShareAccess>
-