public enum SMB2CreateAction extends java.lang.Enum<SMB2CreateAction> implements EnumWithValue<SMB2CreateAction>
The action taken in establishing the open. This field MUST contain one of the following values.
EnumWithValue.EnumUtils| Enum Constant and Description |
|---|
FILE_CREATED
A new file was created.
|
FILE_OPENED
An existing file was opened.
|
FILE_OVERWRITTEN
An existing file was overwritten
|
FILE_SUPERSEDED
An existing file was deleted and a new file was created in its place.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getValue() |
static SMB2CreateAction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SMB2CreateAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SMB2CreateAction FILE_SUPERSEDED
public static final SMB2CreateAction FILE_OPENED
public static final SMB2CreateAction FILE_CREATED
public static final SMB2CreateAction FILE_OVERWRITTEN
public static SMB2CreateAction[] values()
for (SMB2CreateAction c : SMB2CreateAction.values()) System.out.println(c);
public static SMB2CreateAction valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic long getValue()
getValue in interface EnumWithValue<SMB2CreateAction>