Class AbstractSetProcessDefinitionStateCmd

    • Field Detail

      • processDefinitionId

        protected java.lang.String processDefinitionId
      • processDefinitionKey

        protected java.lang.String processDefinitionKey
      • includeProcessInstances

        protected boolean includeProcessInstances
      • executionDate

        protected java.util.Date executionDate
      • tenantId

        protected java.lang.String tenantId
    • Constructor Detail

      • AbstractSetProcessDefinitionStateCmd

        public AbstractSetProcessDefinitionStateCmd​(ProcessDefinitionEntity processDefinitionEntity,
                                                    boolean includeProcessInstances,
                                                    java.util.Date executionDate,
                                                    java.lang.String tenantId)
      • AbstractSetProcessDefinitionStateCmd

        public AbstractSetProcessDefinitionStateCmd​(java.lang.String processDefinitionId,
                                                    java.lang.String processDefinitionKey,
                                                    boolean includeProcessInstances,
                                                    java.util.Date executionDate,
                                                    java.lang.String tenantId)
    • Method Detail

      • getProcessDefinitionSuspensionState

        protected abstract SuspensionState getProcessDefinitionSuspensionState()
        Subclasses should return the wanted SuspensionState here.
      • getDelayedExecutionJobHandlerType

        protected abstract java.lang.String getDelayedExecutionJobHandlerType()
        Subclasses should return the type of the JobHandler here. it will be used when the user provides an execution date on which the actual state change will happen.