public class SyncItem
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELSE_ABEND
Abend .
|
static java.lang.String |
ELSE_SKIP
Skip.
|
static java.lang.String |
ELSE_WAIT
Wait.
|
Constructor and Description |
---|
SyncItem(UC4ObjectName syncObject,
java.lang.String startAction,
java.lang.String endAction,
java.lang.String abendAction,
java.lang.String elseAction)
Constructs a
SyncEntry using the specified parameters. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other) |
java.lang.String |
getAbendAction()
Returns the action that should be carried out when the task ends abnormally.
|
java.lang.String |
getElseAction()
Returns the task handling if neither Start Action, Abend Action nor End Action can be processed.
|
java.lang.String |
getEndAction()
Returns the action that should be carried out when the task ends.
|
java.lang.String |
getStartAction()
Returns the action that should be carried out when the task starts.
|
UC4ObjectName |
getSyncObject()
Returns the name of a Sync object with which the task should be synchronized.
|
int |
hashCode() |
java.lang.String |
toString() |
public static final java.lang.String ELSE_WAIT
public static final java.lang.String ELSE_SKIP
public static final java.lang.String ELSE_ABEND
public SyncItem(UC4ObjectName syncObject, java.lang.String startAction, java.lang.String endAction, java.lang.String abendAction, java.lang.String elseAction)
SyncEntry
using the specified parameters.syncObject
- Name of the SYNC ObjectstartAction
- Start ActionendAction
- End ActionabendAction
- Abend ActionelseAction
- One of SyncEntry.ELSE_WAIT, SyncEntry.ELSE_SKIP, SyncEntry.ELSE_ABENDpublic java.lang.String getAbendAction()
public java.lang.String getElseAction()
SyncEntry.ELSE_WAIT
, SyncEntry.ELSE_SKIP
, SyncEntry.ELSE_ABEND
public java.lang.String getEndAction()
public UC4ObjectName getSyncObject()
public java.lang.String getStartAction()
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object