Class JobQueryMock

java.lang.Object
org.camunda.community.mockito.query.JobQueryMock
All Implemented Interfaces:
Supplier<org.camunda.bpm.engine.runtime.JobQuery>

public class JobQueryMock extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.camunda.bpm.engine.runtime.JobQuery
    count(long result)
     
    forService(org.camunda.bpm.engine.ManagementService service)
     
    final org.camunda.bpm.engine.runtime.JobQuery
    get()
     
    org.camunda.bpm.engine.runtime.JobQuery
    list(List<org.camunda.bpm.engine.runtime.Job> result)
     
    org.camunda.bpm.engine.runtime.JobQuery
    listPage(List<org.camunda.bpm.engine.runtime.Job> result, int min, int max)
     
    org.camunda.bpm.engine.runtime.JobQuery
    singleResult(org.camunda.bpm.engine.runtime.Job result)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • JobQueryMock

      public JobQueryMock()
  • Method Details

    • list

      public org.camunda.bpm.engine.runtime.JobQuery list(List<org.camunda.bpm.engine.runtime.Job> result)
    • singleResult

      public org.camunda.bpm.engine.runtime.JobQuery singleResult(org.camunda.bpm.engine.runtime.Job result)
    • count

      public org.camunda.bpm.engine.runtime.JobQuery count(long result)
    • listPage

      public org.camunda.bpm.engine.runtime.JobQuery listPage(List<org.camunda.bpm.engine.runtime.Job> result, int min, int max)
    • forService

      public JobQueryMock forService(org.camunda.bpm.engine.ManagementService service)
    • get

      public final org.camunda.bpm.engine.runtime.JobQuery get()
      Specified by:
      get in interface Supplier<M extends org.camunda.community.mockito.query.AbstractQueryMock<M,Q,R,S>>