Package com.axelor.meta.db
Class MetaWorkflowMessage
java.lang.Object
com.axelor.db.Model
com.axelor.auth.db.AuditableModel
com.axelor.meta.db.MetaWorkflowMessage
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanHow many polls have offered it.How deep in that chain the message is.The chain of deliveries this message belongs to.The sender's key; null for a signal.How many waits the delivery woke.When delivery gives up; null for never.getId()getName()The message or signal name.The sender's payload, as JSON.The sending run; null when that run left no row.inthashCode()voidsetAttempts(Integer attempts) voidsetCascadeDepth(Integer cascadeDepth) voidsetCascadeId(String cascadeId) voidsetCorrelationKey(String correlationKey) voidsetDeliveredCount(Integer deliveredCount) voidsetExpect(WorkflowMessageExpect expect) voidsetExpiresAt(LocalDateTime expiresAt) voidvoidsetLastAttemptAt(LocalDateTime lastAttemptAt) voidvoidsetPayload(String payload) voidsetSenderRun(MetaWorkflowRun senderRun) voidsetSentAt(LocalDateTime sentAt) voidsetStatus(WorkflowMessageStatus status) 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
-
MetaWorkflowMessage
public MetaWorkflowMessage() -
MetaWorkflowMessage
-
-
Method Details
-
getId
-
setId
-
getName
The message or signal name.- Returns:
- the property value
-
setName
-
getCorrelationKey
The sender's key; null for a signal.- Returns:
- the property value
-
setCorrelationKey
-
getPayload
The sender's payload, as JSON.- Returns:
- the property value
-
setPayload
-
getCascadeId
The chain of deliveries this message belongs to.- Returns:
- the property value
-
setCascadeId
-
getCascadeDepth
How deep in that chain the message is.- Returns:
- the property value
-
setCascadeDepth
-
getSentAt
-
setSentAt
-
getExpiresAt
When delivery gives up; null for never.- Returns:
- the property value
-
setExpiresAt
-
getStatus
-
setStatus
-
getExpect
-
setExpect
-
getAttempts
How many polls have offered it.- Returns:
- the property value
-
setAttempts
-
getLastAttemptAt
-
setLastAttemptAt
-
getDeliveredCount
How many waits the delivery woke.- Returns:
- the property value
-
setDeliveredCount
-
getSenderRun
The sending run; null when that run left no row.- Returns:
- the property value
-
setSenderRun
-
equals
-
hashCode
public int hashCode() -
toString
-