Class ProcessInstance


  • public class ProcessInstance
    extends java.lang.Object
    • Method Detail

      • getId

        public java.lang.String getId()
        Returns:
        String - The unique identifier of the process instance.
      • getDefinitionId

        public java.lang.String getDefinitionId()
        Returns:
        String - The id of the process definition of the process instance.
      • getBusinessKey

        public java.lang.String getBusinessKey()
        Returns:
        String - The business key of this process instance.
      • getTenantId

        public java.lang.String getTenantId()
        Returns:
        String - The id of the tenant this process instance execution belongs to. Can be null if the execution belongs to no single tenant.
      • isEnded

        public boolean isEnded()
        Returns:
        true if the process instance execution ended.
      • isSuspended

        public boolean isSuspended()
        Returns:
        true if the process instance is in suspended state.
      • setId

        public void setId​(java.lang.String id)
        Parameters:
        id - String - The unique identifier of the process instance.
      • setDefinitionId

        public void setDefinitionId​(java.lang.String definitionId)
        Parameters:
        definitionId - String - The id of the process definition of the process instance.
      • setBusinessKey

        public void setBusinessKey​(java.lang.String businessKey)
        Parameters:
        businessKey - String - The business key of this process instance.
      • setTenantId

        public void setTenantId​(java.lang.String tenantId)
        Parameters:
        tenantId - String - The id of the tenant this process instance execution belongs to. Should be null if the execution belongs to no single tenant.
      • setEnded

        public void setEnded​(boolean ended)
        Parameters:
        ended - if the process instance processing has finished.
      • setSuspended

        public void setSuspended​(boolean suspended)
        Parameters:
        suspended - if the process instance is in suspended state.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object