Package com.uc4.api.objects
Class SyncItem
java.lang.Object
com.uc4.api.objects.SyncItem
This class represents a single row of the sync tab.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the action that should be carried out when the task ends abnormally.Returns the task handling if neither Start Action, Abend Action nor End Action can be processed.Returns the action that should be carried out when the task ends.Returns the action that should be carried out when the task starts.Returns the name of a Sync object with which the task should be synchronized.int
hashCode()
toString()
-
Field Details
-
ELSE_WAIT
Wait.- See Also:
-
ELSE_SKIP
Skip.- See Also:
-
ELSE_ABEND
Abend .- See Also:
-
-
Constructor Details
-
SyncItem
public SyncItem(UC4ObjectName syncObject, String startAction, String endAction, String abendAction, String elseAction) Constructs aSyncEntry
using the specified parameters.- Parameters:
syncObject
- Name of the SYNC ObjectstartAction
- Start ActionendAction
- End ActionabendAction
- Abend ActionelseAction
- One of SyncEntry.ELSE_WAIT, SyncEntry.ELSE_SKIP, SyncEntry.ELSE_ABEND
-
-
Method Details
-
getAbendAction
Returns the action that should be carried out when the task ends abnormally.- Returns:
- Abend Action
-
getElseAction
Returns the task handling if neither Start Action, Abend Action nor End Action can be processed.- Returns:
- one of
SyncEntry.ELSE_WAIT
,SyncEntry.ELSE_SKIP
,SyncEntry.ELSE_ABEND
-
getEndAction
Returns the action that should be carried out when the task ends.- Returns:
- end action
-
getSyncObject
Returns the name of a Sync object with which the task should be synchronized.- Returns:
- name
-
getStartAction
Returns the action that should be carried out when the task starts.- Returns:
- start action
-
equals
-
hashCode
public int hashCode() -
toString
-