public class SyncItem extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ELSE_ABEND
Abend .
|
static String |
ELSE_SKIP
Skip.
|
static String |
ELSE_WAIT
Wait.
|
Constructor and Description |
---|
SyncItem(UC4ObjectName syncObject,
String startAction,
String endAction,
String abendAction,
String elseAction)
Constructs a
SyncEntry using the specified parameters. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
String |
getAbendAction()
Returns the action that should be carried out when the task ends abnormally.
|
String |
getElseAction()
Returns the task handling if neither Start Action, Abend Action nor End Action can be processed.
|
String |
getEndAction()
Returns the action that should be carried out when the task ends.
|
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() |
String |
toString() |
public static final String ELSE_WAIT
public static final String ELSE_SKIP
public static final String ELSE_ABEND
public SyncItem(UC4ObjectName syncObject, String startAction, String endAction, String abendAction, 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 String getAbendAction()
public String getElseAction()
SyncEntry.ELSE_WAIT
, SyncEntry.ELSE_SKIP
, SyncEntry.ELSE_ABEND
public String getEndAction()
public UC4ObjectName getSyncObject()
public String getStartAction()
Copyright © 2021. All rights reserved.