Class BPMFailure

java.lang.Object
org.bonitasoft.web.client.model.BPMFailure
All Implemented Interfaces:
Serializable

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.12.0") public class BPMFailure extends Object implements Serializable
A failure that happened during a BPM instance (flow node, process) execution that led to the instance being in a failed state.
See Also:
  • Field Details

  • Constructor Details

    • BPMFailure

      public BPMFailure()
  • Method Details

    • caseId

      public BPMFailure caseId(@Nullable String caseId)
    • getCaseId

      @Nullable public String getCaseId()
      the id of the process instance in which that failure occurred
      Returns:
      caseId
    • setCaseId

      public void setCaseId(@Nullable String caseId)
    • rootCaseId

      public BPMFailure rootCaseId(@Nullable String rootCaseId)
    • getRootCaseId

      @Nullable public String getRootCaseId()
      the id of the root process instance in which that failure occurred
      Returns:
      rootCaseId
    • setRootCaseId

      public void setRootCaseId(@Nullable String rootCaseId)
    • context

      public BPMFailure context(@Nullable String context)
    • getContext

      @Nullable public String getContext()
      Context of the failure
      Returns:
      context
    • setContext

      public void setContext(@Nullable String context)
    • errorMessage

      public BPMFailure errorMessage(@Nullable String errorMessage)
    • getErrorMessage

      @Nullable public String getErrorMessage()
      the message of the exception
      Returns:
      errorMessage
    • setErrorMessage

      public void setErrorMessage(@Nullable String errorMessage)
    • failureDate

      public BPMFailure failureDate(@Nullable String failureDate)
    • getFailureDate

      @Nullable public String getFailureDate()
      the date when the failure occurred in milliseconds since epoch
      Returns:
      failureDate
    • setFailureDate

      public void setFailureDate(@Nullable String failureDate)
    • flowNodeInstanceId

      public BPMFailure flowNodeInstanceId(@Nullable String flowNodeInstanceId)
    • getFlowNodeInstanceId

      @Nullable public String getFlowNodeInstanceId()
      the id of the flow node instance in which the failure occurred
      Returns:
      flowNodeInstanceId
    • setFlowNodeInstanceId

      public void setFlowNodeInstanceId(@Nullable String flowNodeInstanceId)
    • id

      public BPMFailure id(@Nullable String id)
    • getId

      @Nullable public String getId()
      the failure id
      Returns:
      id
    • setId

      public void setId(@Nullable String id)
    • processDefinitionId

      public BPMFailure processDefinitionId(@Nullable String processDefinitionId)
    • getProcessDefinitionId

      @Nullable public String getProcessDefinitionId()
      the process id that is associated with the flow node or case instance of the failure
      Returns:
      processDefinitionId
    • setProcessDefinitionId

      public void setProcessDefinitionId(@Nullable String processDefinitionId)
    • scope

      public BPMFailure scope(@Nullable String scope)
    • getScope

      @Nullable public String getScope()
      the scope of the failure (General information, Operation, Event, Iteration, Connector, Data initialization, Actor mapping, Outgoing transition, or UNKNOWN)
      Returns:
      scope
    • setScope

      public void setScope(@Nullable String scope)
    • stackTrace

      public BPMFailure stackTrace(@Nullable String stackTrace)
    • getStackTrace

      @Nullable public String getStackTrace()
      the stack trace of the exception
      Returns:
      stackTrace
    • setStackTrace

      public void setStackTrace(@Nullable String stackTrace)
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object