Class MetaWorkflowMessage


@Entity public class MetaWorkflowMessage extends AuditableModel
  • Constructor Details

    • MetaWorkflowMessage

      public MetaWorkflowMessage()
    • MetaWorkflowMessage

      public MetaWorkflowMessage(String name)
  • Method Details

    • getId

      public Long getId()
      Specified by:
      getId in class Model
    • setId

      public void setId(Long id)
      Specified by:
      setId in class Model
    • getName

      public String getName()
      The message or signal name.
      Returns:
      the property value
    • setName

      public void setName(String name)
    • getCorrelationKey

      public String getCorrelationKey()
      The sender's key; null for a signal.
      Returns:
      the property value
    • setCorrelationKey

      public void setCorrelationKey(String correlationKey)
    • getPayload

      public String getPayload()
      The sender's payload, as JSON.
      Returns:
      the property value
    • setPayload

      public void setPayload(String payload)
    • getCascadeId

      public String getCascadeId()
      The chain of deliveries this message belongs to.
      Returns:
      the property value
    • setCascadeId

      public void setCascadeId(String cascadeId)
    • getCascadeDepth

      public Integer getCascadeDepth()
      How deep in that chain the message is.
      Returns:
      the property value
    • setCascadeDepth

      public void setCascadeDepth(Integer cascadeDepth)
    • getSentAt

      public LocalDateTime getSentAt()
    • setSentAt

      public void setSentAt(LocalDateTime sentAt)
    • getExpiresAt

      public LocalDateTime getExpiresAt()
      When delivery gives up; null for never.
      Returns:
      the property value
    • setExpiresAt

      public void setExpiresAt(LocalDateTime expiresAt)
    • getStatus

      public WorkflowMessageStatus getStatus()
    • setStatus

      public void setStatus(WorkflowMessageStatus status)
    • getExpect

      public WorkflowMessageExpect getExpect()
    • setExpect

      public void setExpect(WorkflowMessageExpect expect)
    • getAttempts

      public Integer getAttempts()
      How many polls have offered it.
      Returns:
      the property value
    • setAttempts

      public void setAttempts(Integer attempts)
    • getLastAttemptAt

      public LocalDateTime getLastAttemptAt()
    • setLastAttemptAt

      public void setLastAttemptAt(LocalDateTime lastAttemptAt)
    • getDeliveredCount

      public Integer getDeliveredCount()
      How many waits the delivery woke.
      Returns:
      the property value
    • setDeliveredCount

      public void setDeliveredCount(Integer deliveredCount)
    • getSenderRun

      public MetaWorkflowRun getSenderRun()
      The sending run; null when that run left no row.
      Returns:
      the property value
    • setSenderRun

      public void setSenderRun(MetaWorkflowRun senderRun)
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object