Package com.uc4.api.objects
Class SyncItem
- java.lang.Object
-
- com.uc4.api.objects.SyncItem
-
public class SyncItem extends java.lang.Object
This class represents a single row of the sync tab.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ELSE_ABEND
Abend .static java.lang.String
ELSE_SKIP
Skip.static java.lang.String
ELSE_WAIT
Wait.
-
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 aSyncEntry
using the specified parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
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 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 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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-