public static enum ShareModuleCommand.NoEditableSectionStrategy extends Enum<ShareModuleCommand.NoEditableSectionStrategy>
Enum Constant and Description |
---|
ABORT
The share command will fail on first object for which a lock cannot be acquired.
|
SWITCH_TO_EDIT
If a lock cannot be acquired because the object is not defined in an editable section,
the share command is switched to run in exclusive edit.
|
Modifier and Type | Method and Description |
---|---|
static ShareModuleCommand.NoEditableSectionStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShareModuleCommand.NoEditableSectionStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShareModuleCommand.NoEditableSectionStrategy ABORT
public static final ShareModuleCommand.NoEditableSectionStrategy SWITCH_TO_EDIT
public static ShareModuleCommand.NoEditableSectionStrategy[] values()
for (ShareModuleCommand.NoEditableSectionStrategy c : ShareModuleCommand.NoEditableSectionStrategy.values()) System.out.println(c);
public static ShareModuleCommand.NoEditableSectionStrategy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null