Package com.redwood.scheduler.api.model
Interface ProcessMonitorItem
- 
- All Superinterfaces:
- Detail,- NamedDetailObject,- Readable,- SchedulerEntity,- SchedulerEntityComp
 
 public interface ProcessMonitorItem extends NamedDetailObject, Readable An item in the Process Monitor.
- 
- 
Field SummaryFields Modifier and Type Field Description static StringOBJECT_TYPEString that will be returned fromSchedulerEntity.getObjectType()for "ProcessMonitorItem" objects.static StringSEC_RANK_ALLThis rank is made of the following privileges:static StringSEC_RANK_NONEThis rank has no privileges assigned to it.static QueryObjectType<ProcessMonitorItem>TYPEType that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...).- 
Fields inherited from interface com.redwood.scheduler.api.model.SchedulerEntityACTION_AUDIT, ACTION_EXPORT, ACTION_READ, BEHAVIOR_DEPRECATED, BEHAVIOR_NONE, BEHAVIOR_SYSTEM
 
- 
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidfinish()Finish the ProcessMonitorItem.LonggetDisplayIndex()Get the value for DisplayIndex.LonggetDisplayOrder()Get the value for DisplayOrder.LonggetDisplayPercentage()Get the value for DisplayPercentage.LonggetDisplayTotal()Get the value for DisplayTotal.LonggetParentOffset()Get the value for ParentOffset.ProcessMonitorgetProcessMonitor()Get the ProcessMonitor.StringgetProgress()Get the value for Progress.DateTimeZonegetProgressEnd()Get the value for ProgressEnd.LonggetProgressNumber()Get the value for ProgressNumber.LonggetProgressNumberMax()Get the value for ProgressNumberMax.LonggetProgressPercentComplete()Get the value for ProgressPercentComplete.DateTimeZonegetProgressStart()Get the value for ProgressStart.JobStatusgetProgressStatus()Get the value for ProgressStatus.StringgetProgressText()Get the value for ProgressText.SchedulerEntitygetRelatedObject()Get the value for RelatedObject.ObjectDefinitiongetRelatedObjectDefinition()Get the RelatedObjectDefinition.LonggetStartCount()Get the value for StartCount.ProcessMonitorItemStatusgetStatus()Get the value for Status.DateTimeZonegetStatusChanged()Get the value for StatusChanged.ProcessMonitorItemTypegetType()Get the value for Type.voidincrementStartCount()Increments the start count.voidsetCalculatedStatus()Sets the Status to the value calculated from the relative object.voidsetDisplayOrder(Long newDisplayOrder)Set the value for DisplayOrder.voidsetProgressEnd(DateTimeZone newProgressEnd)Set the value for ProgressEnd.voidsetProgressNumber(Long newProgressNumber)Set the value for ProgressNumber.voidsetProgressNumberMax(Long newProgressNumberMax)Set the value for ProgressNumberMax.voidsetProgressPercentComplete(Long newProgressPercentComplete)Set the value for ProgressPercentComplete.voidsetProgressStart(DateTimeZone newProgressStart)Set the value for ProgressStart.voidsetProgressStatus(JobStatus newProgressStatus)Set the value for ProgressStatus.voidsetProgressText(String newProgressText)Set the value for ProgressText.voidsetRelatedObject(SchedulerEntity newRelatedObject)Set the value for RelatedObject.voidsetRelatedObjectDefinition(ObjectDefinition newRelatedObjectDefinition)Set the value for RelatedObjectDefinition.voidsetType(ProcessMonitorItemType newType)Set the value for Type.voidstart()Start the ProcessMonitorItem.- 
Methods inherited from interface com.redwood.scheduler.api.model.NamedDetailObjectgetComment, getDescription, getName, getSearchName, setComment, setDescription, setName
 - 
Methods inherited from interface com.redwood.scheduler.api.model.SchedulerEntitycanPerform, createSubjectObjectPrivilegeGrant, deleteObject, getAuditTrail, getAuditTrailSize, getBehavior, getEffectiveBehavior, getErrorNameEN, getErrorNameKey, getLLPVersion, getLOV, getLOVSupport, getObjectType, getParentSchedulerEntities, getRuntime, getSubjectObjectPrivilegeGrantBySubject, getSubjectObjectPrivilegeGrants, getUniqueId, getUrl, getUrl, isCreated, isDeletable, isDeleted, isModifiable, isModified, isSelectVersioned, processRelatedObjects, processRelatedObjects, processRelatedObjects, refreshObject, resetObject, resetObject, resetValuesToDefault, selectForRead
 
- 
 
- 
- 
- 
Field Detail- 
OBJECT_TYPEstatic final String OBJECT_TYPE String that will be returned fromSchedulerEntity.getObjectType()for "ProcessMonitorItem" objects.- See Also:
- Constant Field Values
 
 - 
TYPEstatic final QueryObjectType<ProcessMonitorItem> TYPE Type that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...).
 - 
SEC_RANK_NONEstatic final String SEC_RANK_NONE This rank has no privileges assigned to it.- See Also:
- Constant Field Values
 
 - 
SEC_RANK_ALLstatic final String SEC_RANK_ALL This rank is made of the following privileges:- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getDisplayOrderLong getDisplayOrder() Get the value for DisplayOrder. (The display order of the item) This value is mandatory, and therefore will not benullif this object has been retrieved from the database.- Returns:
- the field
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
getTypeProcessMonitorItemType getType() Get the value for Type. (The type of the Item) This value is mandatory, and therefore will not benullif this object has been retrieved from the database.- Returns:
- the field
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
getRelatedObjectSchedulerEntity 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:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
getStartCountLong getStartCount() Get the value for StartCount. (The number of times this task has been started.) This value is mandatory, and therefore will not benullif this object has been retrieved from the database.- Returns:
- the field
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
getProgressTextString getProgressText() Get the value for ProgressText. (The progress text of the ProcessMonitor)- Returns:
- the field
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
getProgressPercentCompleteLong getProgressPercentComplete() Get the value for ProgressPercentComplete. (The percentage completed of the ProcessMonitor)- Returns:
- the field
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
getProgressNumberLong getProgressNumber() Get the value for ProgressNumber. (The progress as a number)- Returns:
- the field
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
getProgressNumberMaxLong getProgressNumberMax() Get the value for ProgressNumberMax. (The progress number maximum)- Returns:
- the field
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
getProgressStatusJobStatus getProgressStatus() Get the value for ProgressStatus. (The final status the item)- Returns:
- the field
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
getProgressStartDateTimeZone getProgressStart() Get the value for ProgressStart. (The start time of the item)- Returns:
- the field
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
getProgressEndDateTimeZone getProgressEnd() Get the value for ProgressEnd. (The start time of the item)- Returns:
- the field
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
getProgressString getProgress() Get the value for Progress. (The start time of the item)- Returns:
- the field
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
getStatusProcessMonitorItemStatus getStatus() Get the value for Status. (The status of the ProcessMonitorItem) This value is mandatory, and therefore will not benullif this object has been retrieved from the database.- Returns:
- the field
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
getStatusChangedDateTimeZone getStatusChanged() Get the value for StatusChanged. (The time when the status of the ProcessMonitorItem last changed) This value is mandatory, and therefore will not benullif this object has been retrieved from the database.- Returns:
- the field
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
getDisplayPercentageLong getDisplayPercentage() Get the value for DisplayPercentage. (The percentage of the process monitor that this step takes.) This value is mandatory, and therefore will not benullif this object has been retrieved from the database.- Returns:
- the field
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
getDisplayIndexLong getDisplayIndex() Get the value for DisplayIndex. (The index of this item in the branch list.) This value is mandatory, and therefore will not benullif this object has been retrieved from the database.- Returns:
- the field
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
getDisplayTotalLong getDisplayTotal() Get the value for DisplayTotal. (The total number of steps in this process monitor branch.) This value is mandatory, and therefore will not benullif this object has been retrieved from the database.- Returns:
- the field
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
getParentOffsetLong getParentOffset() Get the value for ParentOffset. (The parent offset position.) This value is mandatory, and therefore will not benullif this object has been retrieved from the database.- Returns:
- the field
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
setDisplayOrdervoid 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:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
setTypevoid 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:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
setRelatedObjectvoid 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:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
setProgressTextvoid 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:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
setProgressPercentCompletevoid 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:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
setProgressNumbervoid 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:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
setProgressNumberMaxvoid setProgressNumberMax(Long newProgressNumberMax) Set the value for ProgressNumberMax. (The progress number maximum) This value is optional.- Parameters:
- newProgressNumberMax- the new value for ProgressNumberMax.
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
setProgressStatusvoid 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:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
setProgressStartvoid 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:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
setProgressEndvoid 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:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
incrementStartCountvoid incrementStartCount() Increments the start count.
 - 
setCalculatedStatusvoid setCalculatedStatus() Sets the Status to the value calculated from the relative object.
 - 
startvoid start() Start the ProcessMonitorItem.
 - 
finishvoid finish() Finish the ProcessMonitorItem.
 - 
getProcessMonitorProcessMonitor getProcessMonitor() Get the ProcessMonitor.- Returns:
- ProcessMonitor
- Throws:
- com.redwood.scheduler.api.exception.ObjectDeletedException- If this method is called when the object has been marked for deletion.
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- If this method is called when the object has been removed from it's session.
 
 - 
getRelatedObjectDefinitionObjectDefinition getRelatedObjectDefinition() Get the RelatedObjectDefinition.- Returns:
- RelatedObjectDefinition
- Throws:
- com.redwood.scheduler.api.exception.ObjectDeletedException- If this method is called when the object has been marked for deletion.
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- If this method is called when the object has been removed from it's session.
 
 - 
setRelatedObjectDefinitionvoid 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?
 
 
- 
 
-