Class ProcessInstanceDelegateImpl

    • Constructor Detail

      • ProcessInstanceDelegateImpl

        protected ProcessInstanceDelegateImpl​(WaitstateExecutable waitstate,
                                              org.camunda.bpm.engine.runtime.ProcessInstance processInstance)
    • Method Detail

      • defer

        public void defer​(String period,
                          Deferred action)
        Description copied from interface: Deferrable
        Defer a certain action for a certain period of time until it is executed. Note that the action is just executed as long as *this* runtime object for which you defer the action still exists in the runtime database. If it disappears before the deferred action triggers, the action will never be executed.
        Specified by:
        defer in interface Deferrable
        Parameters:
        period - of time for which you want to defer an action
        action - which should be executed after the given period.
      • getProcessDefinitionId

        public String getProcessDefinitionId()
        Specified by:
        getProcessDefinitionId in interface org.camunda.bpm.engine.runtime.ProcessInstance
      • getBusinessKey

        public String getBusinessKey()
        Specified by:
        getBusinessKey in interface org.camunda.bpm.engine.runtime.ProcessInstance
      • getRootProcessInstanceId

        public String getRootProcessInstanceId()
        Specified by:
        getRootProcessInstanceId in interface org.camunda.bpm.engine.runtime.ProcessInstance
      • getCaseInstanceId

        public String getCaseInstanceId()
        Specified by:
        getCaseInstanceId in interface org.camunda.bpm.engine.runtime.ProcessInstance
      • isSuspended

        public boolean isSuspended()
        Specified by:
        isSuspended in interface org.camunda.bpm.engine.runtime.Execution
        Specified by:
        isSuspended in interface org.camunda.bpm.engine.runtime.ProcessInstance
      • getId

        public String getId()
        Specified by:
        getId in interface org.camunda.bpm.engine.runtime.Execution
      • isEnded

        public boolean isEnded()
        Specified by:
        isEnded in interface org.camunda.bpm.engine.runtime.Execution
      • getProcessInstanceId

        public String getProcessInstanceId()
        Specified by:
        getProcessInstanceId in interface org.camunda.bpm.engine.runtime.Execution
      • getTenantId

        public String getTenantId()
        Specified by:
        getTenantId in interface org.camunda.bpm.engine.runtime.Execution