Examples of timers()


Examples of org.activiti.engine.runtime.JobQuery.timers()

    if (allRequestParams.containsKey("timersOnly")) {
      if (allRequestParams.containsKey("messagesOnly")) {
        throw new ActivitiIllegalArgumentException("Only one of 'timersOnly' or 'messagesOnly' can be provided.");
      }
      if (Boolean.valueOf(allRequestParams.get("timersOnly"))) {
        query.timers();
      }
    }
    if (allRequestParams.containsKey("messagesOnly")) {
      if (Boolean.valueOf(allRequestParams.get("messagesOnly"))) {
        query.messages();
View Full Code Here

Examples of org.activiti.engine.runtime.JobQuery.timers()

    }
    if (executable) {
      jobQuery.executable();
    }
    if (onlyTimers) {
      jobQuery.timers();
    }
    if (onlyMessages) {
      jobQuery.messages();
    }
    if (dueDateLowerThen != null) {
View Full Code Here

Examples of org.camunda.bpm.engine.runtime.JobQuery.timers()

    assertEquals(0, jobDefinitionQuery.suspended().count());

    // there exists a job for the delayed suspension execution
    JobQuery jobQuery = managementService.createJobQuery();

    Job delayedSuspensionJob = jobQuery.timers().active().singleResult();
    assertNotNull(delayedSuspensionJob);

    // execute job
    managementService.executeJob(delayedSuspensionJob.getId());
View Full Code Here

Examples of org.camunda.bpm.engine.runtime.JobQuery.timers()

    assertEquals(0, jobDefinitionQuery.suspended().count());

    // there exists a job for the delayed suspension execution
    JobQuery jobQuery = managementService.createJobQuery();

    Job delayedSuspensionJob = jobQuery.timers().active().singleResult();
    assertNotNull(delayedSuspensionJob);

    // execute job
    managementService.executeJob(delayedSuspensionJob.getId());
View Full Code Here

Examples of org.camunda.bpm.engine.runtime.JobQuery.timers()

    assertEquals(0, jobDefinitionQuery.suspended().count());

    // there exists a job for the delayed suspension execution
    JobQuery jobQuery = managementService.createJobQuery();

    Job delayedSuspensionJob = jobQuery.timers().active().singleResult();
    assertNotNull(delayedSuspensionJob);

    // execute job
    managementService.executeJob(delayedSuspensionJob.getId());
View Full Code Here

Examples of org.camunda.bpm.engine.runtime.JobQuery.timers()

    assertEquals(0, jobDefinitionQuery.suspended().count());

    // there exists a job for the delayed suspension execution
    JobQuery jobQuery = managementService.createJobQuery();

    Job delayedSuspensionJob = jobQuery.timers().active().singleResult();
    assertNotNull(delayedSuspensionJob);

    // execute job
    managementService.executeJob(delayedSuspensionJob.getId());
View Full Code Here

Examples of org.camunda.bpm.engine.runtime.JobQuery.timers()

    assertEquals(0, jobDefinitionQuery.suspended().count());

    // there exists a job for the delayed suspension execution
    JobQuery jobQuery = managementService.createJobQuery();

    Job delayedSuspensionJob = jobQuery.timers().active().singleResult();
    assertNotNull(delayedSuspensionJob);

    // execute job
    managementService.executeJob(delayedSuspensionJob.getId());
View Full Code Here

Examples of org.camunda.bpm.engine.runtime.JobQuery.timers()

    assertEquals(0, jobDefinitionQuery.suspended().count());

    // there exists a job for the delayed suspension execution
    JobQuery jobQuery = managementService.createJobQuery();

    Job delayedSuspensionJob = jobQuery.timers().active().singleResult();
    assertNotNull(delayedSuspensionJob);

    // execute job
    managementService.executeJob(delayedSuspensionJob.getId());
View Full Code Here

Examples of org.camunda.bpm.engine.runtime.JobQuery.timers()

    assertEquals(1, jobDefinitionQuery.suspended().count());

    // there exists a job for the delayed activation execution
    JobQuery jobQuery = managementService.createJobQuery();

    Job delayedActivationJob = jobQuery.timers().active().singleResult();
    assertNotNull(delayedActivationJob);

    // execute job
    managementService.executeJob(delayedActivationJob.getId());
View Full Code Here

Examples of org.camunda.bpm.engine.runtime.JobQuery.timers()

    assertEquals(1, jobDefinitionQuery.suspended().count());

    // there exists a job for the delayed activation execution
    JobQuery jobQuery = managementService.createJobQuery();

    Job delayedActivationJob = jobQuery.timers().active().singleResult();
    assertNotNull(delayedActivationJob);

    // execute job
    managementService.executeJob(delayedActivationJob.getId());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.