Search in sources :

Example 6 with SuspendedJobEntity

use of org.activiti.engine.impl.persistence.entity.SuspendedJobEntity in project Activiti by Activiti.

the class DefaultJobManager method createSuspendedJobFromOtherJob.

protected SuspendedJobEntity createSuspendedJobFromOtherJob(AbstractJobEntity otherJob) {
    SuspendedJobEntity suspendedJob = processEngineConfiguration.getSuspendedJobEntityManager().create();
    copyJobInfo(suspendedJob, otherJob);
    return suspendedJob;
}
Also used : SuspendedJobEntity(org.activiti.engine.impl.persistence.entity.SuspendedJobEntity)

Aggregations

SuspendedJobEntity (org.activiti.engine.impl.persistence.entity.SuspendedJobEntity)6 JobEntity (org.activiti.engine.impl.persistence.entity.JobEntity)5 TimerJobEntity (org.activiti.engine.impl.persistence.entity.TimerJobEntity)5 DeadLetterJobEntity (org.activiti.engine.impl.persistence.entity.DeadLetterJobEntity)4 AbstractJobEntity (org.activiti.engine.impl.persistence.entity.AbstractJobEntity)3 ActivitiException (org.activiti.engine.ActivitiException)1 ActivitiIllegalArgumentException (org.activiti.engine.ActivitiIllegalArgumentException)1 ActivitiObjectNotFoundException (org.activiti.engine.ActivitiObjectNotFoundException)1 DeadLetterJobEntityManager (org.activiti.engine.impl.persistence.entity.DeadLetterJobEntityManager)1 ExecutionEntity (org.activiti.engine.impl.persistence.entity.ExecutionEntity)1 JobEntityManager (org.activiti.engine.impl.persistence.entity.JobEntityManager)1 SuspendedJobEntityManager (org.activiti.engine.impl.persistence.entity.SuspendedJobEntityManager)1 TaskEntity (org.activiti.engine.impl.persistence.entity.TaskEntity)1 TimerJobEntityManager (org.activiti.engine.impl.persistence.entity.TimerJobEntityManager)1