Interface ProcessMonitorItem

    • Method Detail

      • getDisplayOrder

        Long getDisplayOrder()
        Get the value for DisplayOrder. (The display order of the item) This value is mandatory, and therefore will not be null if this object has been retrieved from the database.
        Returns:
        the field
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • getType

        ProcessMonitorItemType getType()
        Get the value for Type. (The type of the Item) This value is mandatory, and therefore will not be null if this object has been retrieved from the database.
        Returns:
        the field
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • getRelatedObject

        SchedulerEntity getRelatedObject()
        Get the value for RelatedObject. (The SchedulerEntity that is related to this item, or null if no related item, or it has been deleted)
        Returns:
        the field
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • getStartCount

        Long getStartCount()
        Get the value for StartCount. (The number of times this task has been started.) This value is mandatory, and therefore will not be null if this object has been retrieved from the database.
        Returns:
        the field
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • getProgressText

        String getProgressText()
        Get the value for ProgressText. (The progress text of the ProcessMonitor)
        Returns:
        the field
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • getProgressPercentComplete

        Long getProgressPercentComplete()
        Get the value for ProgressPercentComplete. (The percentage completed of the ProcessMonitor)
        Returns:
        the field
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • getProgressNumber

        Long getProgressNumber()
        Get the value for ProgressNumber. (The progress as a number)
        Returns:
        the field
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • getProgressNumberMax

        Long getProgressNumberMax()
        Get the value for ProgressNumberMax. (The progress number maximum)
        Returns:
        the field
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • getProgressStatus

        JobStatus getProgressStatus()
        Get the value for ProgressStatus. (The final status the item)
        Returns:
        the field
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • getProgressStart

        DateTimeZone getProgressStart()
        Get the value for ProgressStart. (The start time of the item)
        Returns:
        the field
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • getProgressEnd

        DateTimeZone getProgressEnd()
        Get the value for ProgressEnd. (The start time of the item)
        Returns:
        the field
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • getProgress

        String getProgress()
        Get the value for Progress. (The start time of the item)
        Returns:
        the field
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • getStatus

        ProcessMonitorItemStatus getStatus()
        Get the value for Status. (The status of the ProcessMonitorItem) This value is mandatory, and therefore will not be null if this object has been retrieved from the database.
        Returns:
        the field
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • getStatusChanged

        DateTimeZone getStatusChanged()
        Get the value for StatusChanged. (The time when the status of the ProcessMonitorItem last changed) This value is mandatory, and therefore will not be null if this object has been retrieved from the database.
        Returns:
        the field
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • getDisplayPercentage

        Long getDisplayPercentage()
        Get the value for DisplayPercentage. (The percentage of the process monitor that this step takes.) This value is mandatory, and therefore will not be null if this object has been retrieved from the database.
        Returns:
        the field
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • getDisplayIndex

        Long getDisplayIndex()
        Get the value for DisplayIndex. (The index of this item in the branch list.) This value is mandatory, and therefore will not be null if this object has been retrieved from the database.
        Returns:
        the field
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • getDisplayTotal

        Long getDisplayTotal()
        Get the value for DisplayTotal. (The total number of steps in this process monitor branch.) This value is mandatory, and therefore will not be null if this object has been retrieved from the database.
        Returns:
        the field
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • getParentOffset

        Long getParentOffset()
        Get the value for ParentOffset. (The parent offset position.) This value is mandatory, and therefore will not be null if this object has been retrieved from the database.
        Returns:
        the field
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • setDisplayOrder

        void setDisplayOrder​(Long newDisplayOrder)
        Set the value for DisplayOrder. (The display order of the item) This value is mandatory.
        Parameters:
        newDisplayOrder - the new value for DisplayOrder. If this is null, then the object cannot be persisted.
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • setType

        void setType​(ProcessMonitorItemType newType)
        Set the value for Type. (The type of the Item) This value is mandatory.
        Parameters:
        newType - the new value for Type. If this is null, then the object cannot be persisted.
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • setRelatedObject

        void setRelatedObject​(SchedulerEntity newRelatedObject)
        Set the value for RelatedObject. (The SchedulerEntity that is related to this item, or null if no related item, or it has been deleted) This value is optional.
        Parameters:
        newRelatedObject - the new value for RelatedObject.
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • setProgressText

        void setProgressText​(String newProgressText)
        Set the value for ProgressText. (The progress text of the ProcessMonitor) This value is optional.
        Parameters:
        newProgressText - the new value for ProgressText.
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • setProgressPercentComplete

        void setProgressPercentComplete​(Long newProgressPercentComplete)
        Set the value for ProgressPercentComplete. (The percentage completed of the ProcessMonitor) This value is optional.
        Parameters:
        newProgressPercentComplete - the new value for ProgressPercentComplete.
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • setProgressNumber

        void setProgressNumber​(Long newProgressNumber)
        Set the value for ProgressNumber. (The progress as a number) This value is optional.
        Parameters:
        newProgressNumber - the new value for ProgressNumber.
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • setProgressNumberMax

        void setProgressNumberMax​(Long newProgressNumberMax)
        Set the value for ProgressNumberMax. (The progress number maximum) This value is optional.
        Parameters:
        newProgressNumberMax - the new value for ProgressNumberMax.
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • setProgressStatus

        void setProgressStatus​(JobStatus newProgressStatus)
        Set the value for ProgressStatus. (The final status the item) This value is optional.
        Parameters:
        newProgressStatus - the new value for ProgressStatus.
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • setProgressStart

        void setProgressStart​(DateTimeZone newProgressStart)
        Set the value for ProgressStart. (The start time of the item) This value is optional.
        Parameters:
        newProgressStart - the new value for ProgressStart.
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • setProgressEnd

        void setProgressEnd​(DateTimeZone newProgressEnd)
        Set the value for ProgressEnd. (The start time of the item) This value is optional.
        Parameters:
        newProgressEnd - the new value for ProgressEnd.
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • incrementStartCount

        void incrementStartCount()
        Increments the start count.
      • setCalculatedStatus

        void setCalculatedStatus()
        Sets the Status to the value calculated from the relative object.
      • start

        void start()
        Start the ProcessMonitorItem.
      • finish

        void finish()
        Finish the ProcessMonitorItem.
      • setRelatedObjectDefinition

        void setRelatedObjectDefinition​(ObjectDefinition newRelatedObjectDefinition)
        Set the value for RelatedObjectDefinition. This value is optional.
        Parameters:
        newRelatedObjectDefinition - is the object to set RelatedObjectDefinition to. What type of object the process monitor item is related to?