|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<IStoreProvider.UpdateMode> org.electrocodeogram.cpc.core.api.provider.store.IStoreProvider.UpdateMode
public static enum IStoreProvider.UpdateMode
Used to provide IStoreProvider.updateClone(IClone, UpdateMode)
with information on the type of modification done to the given clone.
The updateClone method may be called multiple times for the same clone, in that case the given update modes
are accumulated. A call with MOVED
and a call with MODIFIED
together are
equivalent to a single call with MOVED_MODIFIED
.
Enum Constant Summary | |
---|---|
MODIFIED
The clone content (and potentially length) was modified. |
|
MOVED
The clone was only moved or some other data was modified, i.e. |
|
MOVED_MODIFIED
Combination of MOVED and MODIFIED . |
Method Summary | |
---|---|
static IStoreProvider.UpdateMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static IStoreProvider.UpdateMode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final IStoreProvider.UpdateMode MOVED
public static final IStoreProvider.UpdateMode MODIFIED
public static final IStoreProvider.UpdateMode MOVED_MODIFIED
MOVED
and MODIFIED
.
Method Detail |
---|
public static IStoreProvider.UpdateMode[] values()
for (IStoreProvider.UpdateMode c : IStoreProvider.UpdateMode.values()) System.out.println(c);
public static IStoreProvider.UpdateMode 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 name
java.lang.NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |