Class 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 a SyncEntry 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()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SyncItem

        public SyncItem​(UC4ObjectName syncObject,
                        java.lang.String startAction,
                        java.lang.String endAction,
                        java.lang.String abendAction,
                        java.lang.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 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 class java.lang.Object
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object