Package com.axelor.meta.db
Class MetaWorkflowState
java.lang.Object
com.axelor.db.Model
com.axelor.auth.db.AuditableModel
com.axelor.meta.db.MetaWorkflowState
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanWhen the current episode's condition became true.Whose change armed the timer; the fired run runs as them.When the last run completed.getDueAt()When the timer fires.The current episode number.getId()Custom model name; null for a real entity.getKind()The episode of the last completed run.When the lease was taken or renewed, in database time.Node holding the lease; null when unleased.Token of the current lease; finishing the run requires it.getModel()How many times an expired lease was taken back.Id of the definition.inthashCode()voidsetActivatedAt(LocalDateTime activatedAt) voidsetArmedBy(User armedBy) voidsetDoneAt(LocalDateTime doneAt) voidsetDueAt(LocalDateTime dueAt) voidsetEpisode(Long episode) voidvoidsetJsonModel(String jsonModel) voidsetKind(WorkflowStateKind kind) voidsetLastRunEpisode(Long lastRunEpisode) voidsetLeasedAt(LocalDateTime leasedAt) voidsetLeaseOwner(String leaseOwner) voidsetLeaseToken(String leaseToken) voidvoidsetReapCount(Integer reapCount) voidsetRecordId(Long recordId) voidsetStatus(WorkflowStateStatus status) voidsetWorkflow(String workflow) voidsetWorkflowName(String workflowName) toString()Methods inherited from class com.axelor.auth.db.AuditableModel
getCreatedBy, getCreatedOn, getUpdatedBy, getUpdatedOnMethods inherited from class com.axelor.db.Model
getArchived, getCid, getImportId, getVersion, isSelected, setArchived, setCid, setImportId, setSelected, setVersion
-
Constructor Details
-
MetaWorkflowState
public MetaWorkflowState()
-
-
Method Details
-
getId
-
setId
-
getWorkflow
Id of the definition.- Returns:
- the property value
-
setWorkflow
-
getWorkflowName
-
setWorkflowName
-
getModel
-
setModel
-
getJsonModel
Custom model name; null for a real entity.- Returns:
- the property value
-
setJsonModel
-
getRecordId
-
setRecordId
-
getKind
-
setKind
-
getStatus
-
setStatus
-
getActivatedAt
When the current episode's condition became true.- Returns:
- the property value
-
setActivatedAt
-
getArmedBy
Whose change armed the timer; the fired run runs as them.- Returns:
- the property value
-
setArmedBy
-
getDueAt
When the timer fires.- Returns:
- the property value
-
setDueAt
-
getDoneAt
When the last run completed.- Returns:
- the property value
-
setDoneAt
-
getEpisode
The current episode number.- Returns:
- the property value
-
setEpisode
-
getLastRunEpisode
The episode of the last completed run.- Returns:
- the property value
-
setLastRunEpisode
-
getLeaseOwner
Node holding the lease; null when unleased.- Returns:
- the property value
-
setLeaseOwner
-
getLeaseToken
Token of the current lease; finishing the run requires it.- Returns:
- the property value
-
setLeaseToken
-
getLeasedAt
When the lease was taken or renewed, in database time.- Returns:
- the property value
-
setLeasedAt
-
getReapCount
How many times an expired lease was taken back.- Returns:
- the property value
-
setReapCount
-
equals
-
hashCode
public int hashCode() -
toString
-