Class JobQueryMock
java.lang.Object
org.camunda.community.mockito.query.JobQueryMock
- All Implemented Interfaces:
Supplier<org.camunda.bpm.engine.runtime.JobQuery>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.camunda.bpm.engine.runtime.JobQuerycount(long result) forService(org.camunda.bpm.engine.ManagementService service) final org.camunda.bpm.engine.runtime.JobQueryget()org.camunda.bpm.engine.runtime.JobQueryorg.camunda.bpm.engine.runtime.JobQueryorg.camunda.bpm.engine.runtime.JobQuerysingleResult(org.camunda.bpm.engine.runtime.Job result)
-
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
-
get
public final org.camunda.bpm.engine.runtime.JobQuery get()
-