Package com.uc4.api.objects
Class SyncItem
- java.lang.Object
-
- com.uc4.api.objects.SyncItem
-
public class SyncItem extends java.lang.ObjectThis class represents a single row of the sync tab.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringELSE_ABENDAbend .static java.lang.StringELSE_SKIPSkip.static java.lang.StringELSE_WAITWait.
-
Constructor Summary
Constructors Constructor Description SyncItem(UC4ObjectName syncObject, java.lang.String startAction, java.lang.String endAction, java.lang.String abendAction, java.lang.String elseAction)Constructs aSyncEntryusing the specified parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object other)java.lang.StringgetAbendAction()Returns the action that should be carried out when the task ends abnormally.java.lang.StringgetElseAction()Returns the task handling if neither Start Action, Abend Action nor End Action can be processed.java.lang.StringgetEndAction()Returns the action that should be carried out when the task ends.java.lang.StringgetStartAction()Returns the action that should be carried out when the task starts.UC4ObjectNamegetSyncObject()Returns the name of a Sync object with which the task should be synchronized.inthashCode()java.lang.StringtoString()
-
-
-
Field Detail
-
ELSE_WAIT
public static final java.lang.String ELSE_WAIT
Wait.- See Also:
- Constant Field Values
-
ELSE_SKIP
public static final java.lang.String ELSE_SKIP
Skip.- See Also:
- Constant Field Values
-
ELSE_ABEND
public static final java.lang.String ELSE_ABEND
Abend .- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SyncItem
public SyncItem(UC4ObjectName syncObject, java.lang.String startAction, java.lang.String endAction, java.lang.String abendAction, java.lang.String elseAction)
Constructs aSyncEntryusing 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 Detail
-
getAbendAction
public java.lang.String getAbendAction()
Returns the action that should be carried out when the task ends abnormally.- Returns:
- Abend Action
-
getElseAction
public java.lang.String 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
public java.lang.String getEndAction()
Returns the action that should be carried out when the task ends.- Returns:
- end action
-
getSyncObject
public UC4ObjectName getSyncObject()
Returns the name of a Sync object with which the task should be synchronized.- Returns:
- name
-
getStartAction
public java.lang.String getStartAction()
Returns the action that should be carried out when the task starts.- Returns:
- start action
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-