Class JobStep

java.lang.Object
org.apache.cayenne.PersistentObject
org.apache.cayenne.BaseDataObject
org.apache.cayenne.CayenneDataObject
All Implemented Interfaces:
IEntity, Serializable, org.apache.cayenne.DataObject, org.apache.cayenne.Persistent, org.apache.cayenne.Validating

public class JobStep extends _JobStep
Provides a Collaboration Job Step entity.
Since:
4.0.0
See Also:
  • Field Details

    • STATUS_IN_PROGRESS

      public static final String STATUS_IN_PROGRESS
      The Job Step "In Progress" status.
      See Also:
    • STATUS_COMPLETED

      public static final String STATUS_COMPLETED
      The Job Step "Completed" status.
      See Also:
    • STATUS_CANCELLED

      public static final String STATUS_CANCELLED
      The Job Step "Cancelled" status.
      See Also:
    • STATUS_EXPIRED

      public static final String STATUS_EXPIRED
      The Job Step "Expired" status.
      See Also:
    • STATUS_VALUES

      public static final String[] STATUS_VALUES
      The valid Job Step status values.
    • TYPE_ENDPOINT

      public static final String TYPE_ENDPOINT
      The "endpoint" step type.
      See Also:
  • Constructor Details

    • JobStep

      public JobStep()
  • Method Details

    • isStatusCancelled

      public boolean isStatusCancelled()
      Returns:
      true if the status is "Cancelled"
    • isStatusCompleted

      public boolean isStatusCompleted()
      Returns:
      true if the status is "Completed"
    • isStatusExpired

      public boolean isStatusExpired()
      Returns:
      true if the status is "Expired"
    • isStatusInProgress

      public boolean isStatusInProgress()
      Returns:
      true if the status is "In Progress"
    • isTypeEndpoint

      public boolean isTypeEndpoint()
      Returns:
      true is "endpoint" step type
    • hasScheduledCompletionExpired

      public boolean hasScheduledCompletionExpired()
      Return true if the step has expired or false otherwise.
      Returns:
      true if the step has expired or false otherwise.
    • getJobActionMap

      public Map<String,JobAction> getJobActionMap()
      Returns:
      an map of Job Actions keyed on job action name.
    • getOrderedJobActions

      public List<JobAction> getOrderedJobActions()
      Returns:
      the list of job actions ordered by id.
    • toString

      public String toString()
      Overrides:
      toString in class BaseEntity
      Returns:
      the string representation of this object.
    • setTimeFinished

      public void setTimeFinished(Date timeFinished)
      Description copied from class: _JobStep
      Set the timeFinished value.
      Overrides:
      setTimeFinished in class _JobStep
      Parameters:
      timeFinished - the timeFinished value to set
    • setTimeCreated

      public void setTimeCreated(Date timeCreated)
      Description copied from class: _JobStep
      Set the timeCreated value.
      Overrides:
      setTimeCreated in class _JobStep
      Parameters:
      timeCreated - the timeCreated value to set
    • setTimeCompletionScheduled

      public void setTimeCompletionScheduled(Date timeCompletionScheduled)
      Description copied from class: _JobStep
      Set the timeCompletionScheduled value.
      Overrides:
      setTimeCompletionScheduled in class _JobStep
      Parameters:
      timeCompletionScheduled - the timeCompletionScheduled value to set