|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<ChecksumErrorHandler>
org.eclipse.emf.emfstore.internal.client.model.util.ChecksumErrorHandler
public enum ChecksumErrorHandler
Pre-defined error handlers.
| Enum Constant Summary | |
|---|---|
AUTOCORRECT
Fixes the checksum comparison failure by deleting the ProjectSpace that got
in an inconsistent state and checking it out again.Note: all references to the project space that will be deleted should to be taken care of. |
|
CANCEL
Aborts execution of the caller. |
|
LOG
Logs the checksum comparison failure and continues execution of the caller. |
|
LOG_DETAILED
Logs the checksum comparison failure detailed: the serialization of both project spaces is written in seperate files. |
|
| Method Summary | |
|---|---|
static ChecksumErrorHandler |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ChecksumErrorHandler[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.emf.emfstore.client.handler.ESChecksumErrorHandler |
|---|
execute |
| Enum Constant Detail |
|---|
public static final ChecksumErrorHandler LOG
public static final ChecksumErrorHandler LOG_DETAILED
public static final ChecksumErrorHandler CANCEL
public static final ChecksumErrorHandler AUTOCORRECT
ProjectSpace that got
in an inconsistent state and checking it out again.
| Method Detail |
|---|
public static ChecksumErrorHandler[] values()
for (ChecksumErrorHandler c : ChecksumErrorHandler.values()) System.out.println(c);
public static ChecksumErrorHandler valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||