public class JobAssert extends AbstractProcessAssert<JobAssert,org.camunda.bpm.engine.runtime.Job>
Jobengine| Modifier | Constructor and Description |
|---|---|
protected |
JobAssert(org.camunda.bpm.engine.ProcessEngine engine,
org.camunda.bpm.engine.runtime.Job actual) |
| Modifier and Type | Method and Description |
|---|---|
protected static JobAssert |
assertThat(org.camunda.bpm.engine.ProcessEngine engine,
org.camunda.bpm.engine.runtime.Job actual) |
protected org.camunda.bpm.engine.runtime.ExecutionQuery |
executionQuery() |
protected org.camunda.bpm.engine.runtime.Job |
getCurrent() |
JobAssert |
hasActivityId(String activityId) |
JobAssert |
hasDeploymentId(String expectedDeploymentId)
Verifies the expectation of a specific deployment id for the
Job. |
JobAssert |
hasDueDate(Date expectedDueDate)
Verifies the expectation of a specific due date for the
Job. |
JobAssert |
hasExceptionMessage()
Verifies the expectation of the existence of an exception message
for the
Job. |
JobAssert |
hasExecutionId(String expectedExecutionId)
Verifies the expectation of a specific execution id for the
Job. |
JobAssert |
hasId(String expectedId)
Verifies the expectation of a specific id for the
Job. |
JobAssert |
hasProcessInstanceId(String expectedProcessInstanceId)
Verifies the expectation of a specific process instance id for the
Job. |
JobAssert |
hasRetries(int expectedRetries)
Verifies the expectation of a specific number of retries left for the
Job. |
protected org.camunda.bpm.engine.history.HistoricActivityInstanceQuery |
historicActivityInstanceQuery() |
protected org.camunda.bpm.engine.history.HistoricDetailQuery |
historicDetailQuery() |
protected org.camunda.bpm.engine.history.HistoricProcessInstanceQuery |
historicProcessInstanceQuery() |
protected org.camunda.bpm.engine.history.HistoricTaskInstanceQuery |
historicTaskInstanceQuery() |
protected org.camunda.bpm.engine.history.HistoricVariableInstanceQuery |
historicVariableInstanceQuery() |
protected org.camunda.bpm.engine.runtime.JobQuery |
jobQuery() |
protected org.camunda.bpm.engine.repository.ProcessDefinitionQuery |
processDefinitionQuery() |
protected org.camunda.bpm.engine.runtime.ProcessInstanceQuery |
processInstanceQuery() |
protected org.camunda.bpm.engine.task.TaskQuery |
taskQuery() |
protected String |
toString(org.camunda.bpm.engine.runtime.Job job) |
protected org.camunda.bpm.engine.runtime.VariableInstanceQuery |
variableInstanceQuery() |
assertApi, authorizationService, caseDefinitionQuery, caseExecutionQuery, caseInstanceQuery, caseService, formService, getActual, getExistingCurrent, getLastAssert, historicCaseActivityInstanceQuery, historyService, identityService, managementService, repositoryService, resetLastAsserts, runtimeService, supportsApi, taskServiceas, as, asList, asString, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasToString, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, overridingErrorMessage, setCustomRepresentation, usingComparator, usingDefaultComparator, withFailMessage, withRepresentation, withThreadDumpOnErrorprotected JobAssert(org.camunda.bpm.engine.ProcessEngine engine,
org.camunda.bpm.engine.runtime.Job actual)
protected static JobAssert assertThat(org.camunda.bpm.engine.ProcessEngine engine, org.camunda.bpm.engine.runtime.Job actual)
protected org.camunda.bpm.engine.runtime.Job getCurrent()
getCurrent in class AbstractProcessAssert<JobAssert,org.camunda.bpm.engine.runtime.Job>public JobAssert hasId(String expectedId)
Job.expectedId - the expected job idJobAssertJob.getId()public JobAssert hasDueDate(Date expectedDueDate)
Job.expectedDueDate - the expected due dateJobAssertJob.getDuedate()public JobAssert hasProcessInstanceId(String expectedProcessInstanceId)
Job.expectedProcessInstanceId - the expected process instance idJobAssertJob.getProcessInstanceId()public JobAssert hasExecutionId(String expectedExecutionId)
Job.expectedExecutionId - the expected execution idJobAssertJob.getExecutionId()public JobAssert hasRetries(int expectedRetries)
Job.expectedRetries - the expected number of retriesJobAssertJob.getExecutionId()public JobAssert hasExceptionMessage()
Job.JobAssertJob.getExceptionMessage()public JobAssert hasDeploymentId(String expectedDeploymentId)
Job.expectedDeploymentId - the expected deployment idJobAssertJob.getDeploymentId()protected String toString(org.camunda.bpm.engine.runtime.Job job)
toString in class AbstractProcessAssert<JobAssert,org.camunda.bpm.engine.runtime.Job>protected org.camunda.bpm.engine.task.TaskQuery taskQuery()
taskQuery in class AbstractProcessAssert<JobAssert,org.camunda.bpm.engine.runtime.Job>protected org.camunda.bpm.engine.runtime.JobQuery jobQuery()
jobQuery in class AbstractProcessAssert<JobAssert,org.camunda.bpm.engine.runtime.Job>protected org.camunda.bpm.engine.runtime.ProcessInstanceQuery processInstanceQuery()
processInstanceQuery in class AbstractProcessAssert<JobAssert,org.camunda.bpm.engine.runtime.Job>protected org.camunda.bpm.engine.runtime.ExecutionQuery executionQuery()
executionQuery in class AbstractProcessAssert<JobAssert,org.camunda.bpm.engine.runtime.Job>protected org.camunda.bpm.engine.runtime.VariableInstanceQuery variableInstanceQuery()
variableInstanceQuery in class AbstractProcessAssert<JobAssert,org.camunda.bpm.engine.runtime.Job>protected org.camunda.bpm.engine.history.HistoricActivityInstanceQuery historicActivityInstanceQuery()
historicActivityInstanceQuery in class AbstractProcessAssert<JobAssert,org.camunda.bpm.engine.runtime.Job>protected org.camunda.bpm.engine.history.HistoricDetailQuery historicDetailQuery()
historicDetailQuery in class AbstractProcessAssert<JobAssert,org.camunda.bpm.engine.runtime.Job>protected org.camunda.bpm.engine.history.HistoricProcessInstanceQuery historicProcessInstanceQuery()
historicProcessInstanceQuery in class AbstractProcessAssert<JobAssert,org.camunda.bpm.engine.runtime.Job>protected org.camunda.bpm.engine.history.HistoricTaskInstanceQuery historicTaskInstanceQuery()
historicTaskInstanceQuery in class AbstractProcessAssert<JobAssert,org.camunda.bpm.engine.runtime.Job>protected org.camunda.bpm.engine.history.HistoricVariableInstanceQuery historicVariableInstanceQuery()
historicVariableInstanceQuery in class AbstractProcessAssert<JobAssert,org.camunda.bpm.engine.runtime.Job>protected org.camunda.bpm.engine.repository.ProcessDefinitionQuery processDefinitionQuery()
processDefinitionQuery in class AbstractProcessAssert<JobAssert,org.camunda.bpm.engine.runtime.Job>Copyright © 2019 Camunda Services GmbH. All rights reserved.