public static enum CoreSession.CopyOption extends Enum<CoreSession.CopyOption>
Enum Constant and Description |
---|
RESET_CREATOR |
RESET_LIFE_CYCLE |
Modifier and Type | Method and Description |
---|---|
static boolean |
isResetCreator(CoreSession.CopyOption... options) |
static boolean |
isResetLifeCycle(CoreSession.CopyOption... options) |
static CoreSession.CopyOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CoreSession.CopyOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CoreSession.CopyOption RESET_LIFE_CYCLE
public static final CoreSession.CopyOption RESET_CREATOR
public static CoreSession.CopyOption[] values()
for (CoreSession.CopyOption c : CoreSession.CopyOption.values()) System.out.println(c);
public static CoreSession.CopyOption 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 nullpublic static boolean isResetLifeCycle(CoreSession.CopyOption... options)
public static boolean isResetCreator(CoreSession.CopyOption... options)
Copyright © 2018 Nuxeo. All rights reserved.