|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<SyncAction>
com.xmatters.ibm.tivoli.datasync.SyncAction
public enum SyncAction
Contains all possible actions the can be taken during synchronization
Enum Constant Summary | |
---|---|
ADD
|
|
DELETE
|
|
EXCLUDED
|
|
FAILED
|
|
NO_ACTION
|
|
NOT_DELETABLE
|
|
SEED_ONLY
|
|
UPDATE
|
Method Summary | |
---|---|
SyncMessage |
getMessage(java.lang.String object,
java.lang.String name)
Retrieve a SyncMessage object containing an appropriate message to be logged. |
SyncMessage |
getMessage(java.lang.String object,
java.lang.String name,
java.lang.Exception reason)
Retrieve a SyncMessage object containing an appropriate message to be logged and the exception causing it. |
boolean |
succeeded()
Decided if the specified SyncAction is considered a success or a failure |
static SyncAction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static SyncAction[] |
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 SyncAction ADD
public static final SyncAction UPDATE
public static final SyncAction DELETE
public static final SyncAction SEED_ONLY
public static final SyncAction NOT_DELETABLE
public static final SyncAction EXCLUDED
public static final SyncAction FAILED
public static final SyncAction NO_ACTION
Method Detail |
---|
public static SyncAction[] values()
for (SyncAction c : SyncAction.values()) System.out.println(c);
public static SyncAction 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 nullpublic SyncMessage getMessage(java.lang.String object, java.lang.String name, java.lang.Exception reason)
object
- The object this synchronization was for ('Person' for example)name
- The identifier for this object ('BSmith' for example)reason
- An Exception containing the reason the synchronization failed
public SyncMessage getMessage(java.lang.String object, java.lang.String name)
object
- The object this synchronization was for ('Person' for example)name
- The identifier for this object ('BSmith' for example)
public boolean succeeded()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |