Class MetaWorkflowCapture


@Entity public class MetaWorkflowCapture extends AuditableModel
  • Constructor Details

    • MetaWorkflowCapture

      public MetaWorkflowCapture()
  • Method Details

    • getId

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

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

      public WorkflowTrigger getTriggerType()
      create or update.
      Returns:
      the property value
    • setTriggerType

      public void setTriggerType(WorkflowTrigger triggerType)
    • getModel

      public String getModel()
    • setModel

      public void setModel(String model)
    • getJsonModel

      public String getJsonModel()
      Custom model name; null for a real entity.
      Returns:
      the property value
    • setJsonModel

      public void setJsonModel(String jsonModel)
    • getRecordId

      public Long getRecordId()
    • setRecordId

      public void setRecordId(Long recordId)
    • getChangedFields

      public String getChangedFields()
      Names of the changed fields, as JSON; empty on create.
      Returns:
      the property value
    • setChangedFields

      public void setChangedFields(String changedFields)
    • getSelf

      public String getSelf()
      The record's values after the change, as JSON.
      Returns:
      the property value
    • setSelf

      public void setSelf(String self)
    • getOld

      public String getOld()
      The record's values before the change, as JSON; null on create.
      Returns:
      the property value
    • setOld

      public void setOld(String old)
    • getCapturedAt

      public LocalDateTime getCapturedAt()
    • setCapturedAt

      public void setCapturedAt(LocalDateTime capturedAt)
    • getChangedBy

      public User getChangedBy()
      Who made the change; the dispatched run runs as them.
      Returns:
      the property value
    • setChangedBy

      public void setChangedBy(User changedBy)
    • getRegistryStamp

      public String getRegistryStamp()
      The deployed definitions' stamp at capture time.
      Returns:
      the property value
    • setRegistryStamp

      public void setRegistryStamp(String registryStamp)
    • getStatus

      public WorkflowCaptureStatus getStatus()
    • setStatus

      public void setStatus(WorkflowCaptureStatus status)
    • getAttempts

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

      public void setAttempts(Integer attempts)
    • getLeaseOwner

      public String getLeaseOwner()
      Node holding the lease; null when unleased.
      Returns:
      the property value
    • setLeaseOwner

      public void setLeaseOwner(String leaseOwner)
    • getLeaseToken

      public String getLeaseToken()
      Token of the current lease; completing the dispatch requires it.
      Returns:
      the property value
    • setLeaseToken

      public void setLeaseToken(String leaseToken)
    • getLeasedAt

      public LocalDateTime getLeasedAt()
      When the lease was taken or renewed, in database time.
      Returns:
      the property value
    • setLeasedAt

      public void setLeasedAt(LocalDateTime leasedAt)
    • getEffectStarted

      public Boolean getEffectStarted()
      Set once an email, agent or script may have acted outside the transaction.
      Returns:
      the property value
    • setEffectStarted

      public void setEffectStarted(Boolean effectStarted)
    • getReconciliationReason

      public String getReconciliationReason()
    • setReconciliationReason

      public void setReconciliationReason(String reconciliationReason)
    • getReconciledBy

      public User getReconciledBy()
    • setReconciledBy

      public void setReconciledBy(User reconciledBy)
    • getReconciledAt

      public LocalDateTime getReconciledAt()
    • setReconciledAt

      public void setReconciledAt(LocalDateTime reconciledAt)
    • getLastAttemptAt

      public LocalDateTime getLastAttemptAt()
    • setLastAttemptAt

      public void setLastAttemptAt(LocalDateTime lastAttemptAt)
    • getErrorMessage

      public String getErrorMessage()
    • setErrorMessage

      public void setErrorMessage(String errorMessage)
    • 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