@Entity public class ProcessStatusImpl extends Object implements ProcessStatus
ProcessStatus
Modifier and Type | Field and Description |
---|---|
protected String |
description |
protected Long |
executionId |
protected String |
executionType |
protected String |
friendlyName |
protected Long |
id |
protected Character |
isArchived |
protected Character |
isPaused |
protected Date |
lastUpdated |
protected String |
name |
protected Double |
percentComplete |
protected Long |
processId |
protected Integer |
version |
Constructor and Description |
---|
ProcessStatusImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
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
|
int |
hashCode() |
void |
setDescription(String description) |
void |
setExecutionId(Long executionId) |
void |
setExecutionType(String executionType) |
void |
setFriendlyName(String friendlyName) |
void |
setId(Long id) |
void |
setIsArchived(Boolean isArchived) |
void |
setIsPaused(Boolean isPaused) |
void |
setLastUpdated(Date lastUpdated) |
void |
setName(String name) |
void |
setPercentComplete(Double percentComplete) |
void |
setProcessId(Long processId) |
String |
toString() |
protected Long id
protected String name
protected String friendlyName
protected String description
protected Long processId
protected Long executionId
protected String executionType
protected Character isPaused
protected Double percentComplete
protected Date lastUpdated
protected Character isArchived
protected Integer version
public Long getId()
ProcessStatus
getId
in interface ProcessStatus
public void setId(Long id)
setId
in interface ProcessStatus
public String getName()
ProcessStatus
getName
in interface ProcessStatus
public void setName(String name)
setName
in interface ProcessStatus
public String getFriendlyName()
ProcessStatus
getFriendlyName
in interface ProcessStatus
public void setFriendlyName(String friendlyName)
setFriendlyName
in interface ProcessStatus
public String getDescription()
ProcessStatus
getDescription
in interface ProcessStatus
public void setDescription(String description)
setDescription
in interface ProcessStatus
public Long getProcessId()
ProcessStatus
getProcessId
in interface ProcessStatus
public void setProcessId(Long processId)
setProcessId
in interface ProcessStatus
public Long getExecutionId()
ProcessStatus
ProcessManager.setExecution(Long, String)
.getExecutionId
in interface ProcessStatus
public void setExecutionId(Long executionId)
setExecutionId
in interface ProcessStatus
public String getExecutionType()
ProcessStatus
ProcessStatus.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)
.getExecutionType
in interface ProcessStatus
public void setExecutionType(String executionType)
setExecutionType
in interface ProcessStatus
public Boolean getIsPaused()
ProcessStatus
ProcessManager.pauseProcess()
.getIsPaused
in interface ProcessStatus
public void setIsPaused(Boolean isPaused)
setIsPaused
in interface ProcessStatus
public Boolean getIsArchived()
ProcessStatus
AbandonedProcessWorkerImpl.abandonedPurgeThresholdSeconds
)getIsArchived
in interface ProcessStatus
public void setIsArchived(Boolean isArchived)
setIsArchived
in interface ProcessStatus
public Double getPercentComplete()
ProcessStatus
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
getPercentComplete
in interface ProcessStatus
public void setPercentComplete(Double percentComplete)
setPercentComplete
in interface ProcessStatus
public Date getLastUpdated()
ProcessStatus
getLastUpdated
in interface ProcessStatus
KeepAliveWorkerImpl
public void setLastUpdated(Date lastUpdated)
setLastUpdated
in interface ProcessStatus
Copyright © 2019. All rights reserved.