Class SyncItem

java.lang.Object
com.uc4.api.objects.SyncItem

public class SyncItem extends Object
This class represents a single row of the sync tab.
  • Field Details

  • Constructor Details

    • SyncItem

      public SyncItem(UC4ObjectName syncObject, String startAction, String endAction, String abendAction, String elseAction)
      Constructs a SyncEntry using the specified parameters.
      Parameters:
      syncObject - Name of the SYNC Object
      startAction - Start Action
      endAction - End Action
      abendAction - Abend Action
      elseAction - One of SyncEntry.ELSE_WAIT, SyncEntry.ELSE_SKIP, SyncEntry.ELSE_ABEND
  • Method Details

    • getAbendAction

      public String getAbendAction()
      Returns the action that should be carried out when the task ends abnormally.
      Returns:
      Abend Action
    • getElseAction

      public 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 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 String getStartAction()
      Returns the action that should be carried out when the task starts.
      Returns:
      start action
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object