public interface ProcessStatus
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Any additional, descriptive information about the process
|
Long |
getExecutionId()
Relates to the primary key of another, arbitrary entity.
|
String |
getExecutionType()
Relates to a descriptive type that ties this to an asynchronous thread of execution.
|
String |
getFriendlyName()
Name used by the system in a human-readable format
|
Long |
getId()
Primary key
|
Boolean |
getIsArchived()
Whether or not this ProcessStatus is considered to be archived.
|
Boolean |
getIsPaused()
Whether or not this ProcessStatus is considered to be in a paused state.
|
Date |
getLastUpdated()
The last time this ProcessStatus was touched by the KeepAlive process.
|
String |
getName()
Name used by the system to identify the process
|
Double |
getPercentComplete()
The level of completion of the asynchronous thread of execution currently achieved.
|
Long |
getProcessId()
A system generated identifier for the process
|
void |
setDescription(String description) |
void |
setExecutionId(Long executionId) |
void |
setExecutionType(String executionType) |
void |
setFriendlyName(String friendlyName) |
void |
setId(Long id) |
void |
setIsArchived(Boolean isPaused) |
void |
setIsPaused(Boolean isPaused) |
void |
setLastUpdated(Date lastUpdated) |
void |
setName(String name) |
void |
setPercentComplete(Double percentComplete) |
void |
setProcessId(Long processId) |
Long getId()
void setId(Long id)
String getName()
void setName(String name)
String getFriendlyName()
void setFriendlyName(String friendlyName)
String getDescription()
void setDescription(String description)
Long getProcessId()
void setProcessId(Long processId)
Long getExecutionId()
ProcessManager.setExecution(Long, String)
.void setExecutionId(Long executionId)
String getExecutionType()
getExecutionId()
in tandem allow for pinpointing a particular ProcessStatus instance for
a given asynchronous thread of execution. This is generally set via
ProcessManager.setExecution(Long, String)
.void setExecutionType(String executionType)
Double getPercentComplete()
The level of completion of the asynchronous thread of execution currently achieved. This is generally updated
by the asynchronous thread of execution via ProcessManager.setProgress(long, long)
.
This will return the decimal percentage. For display purposes this will likely need to be multiplied by 100
void setPercentComplete(Double percentComplete)
Date getLastUpdated()
KeepAliveWorkerImpl
void setLastUpdated(Date lastUpdated)
Boolean getIsPaused()
ProcessManager.pauseProcess()
.void setIsPaused(Boolean isPaused)
Boolean getIsArchived()
AbandonedProcessWorkerImpl.abandonedPurgeThresholdSeconds
)void setIsArchived(Boolean isPaused)
Copyright © 2019. All rights reserved.