Class ActivitiEventImpl

    • Field Detail

      • executionId

        protected String executionId
      • processInstanceId

        protected String processInstanceId
      • processDefinitionId

        protected String processDefinitionId
    • Constructor Detail

      • ActivitiEventImpl

        public ActivitiEventImpl​(ActivitiEventType type)
        Creates a new event implementation, not part of an execution context.
      • ActivitiEventImpl

        public ActivitiEventImpl​(ActivitiEventType type,
                                 String executionId,
                                 String processInstanceId,
                                 String processDefinitionId)
        Creates a new event implementation, part of an execution context.
    • Method Detail

      • getExecutionId

        public String getExecutionId()
        Specified by:
        getExecutionId in interface ActivitiEvent
        Returns:
        the id of the execution this event is associated with. Returns null, if the event was not dispatched from within an active execution.
      • setExecutionId

        public void setExecutionId​(String executionId)
      • getProcessDefinitionId

        public String getProcessDefinitionId()
        Specified by:
        getProcessDefinitionId in interface ActivitiEvent
        Returns:
        the id of the process definition this event is associated with. Returns null, if the event was not dispatched from within an active execution.
      • setProcessDefinitionId

        public void setProcessDefinitionId​(String processDefinitionId)
      • getProcessInstanceId

        public String getProcessInstanceId()
        Specified by:
        getProcessInstanceId in interface ActivitiEvent
        Returns:
        the id of the process instance this event is associated with. Returns null, if the event was not dispatched from within an active execution.
      • setProcessInstanceId

        public void setProcessInstanceId​(String processInstanceId)
      • getReason

        public String getReason()
      • setReason

        public void setReason​(String reason)