Class JobAssert
java.lang.Object
org.assertj.core.api.AbstractAssert<S,A>
org.camunda.bpm.engine.test.assertions.bpmn.AbstractProcessAssert<JobAssert,Job>
org.camunda.bpm.engine.test.assertions.bpmn.JobAssert
- All Implemented Interfaces:
org.assertj.core.api.Assert<JobAssert,,Job> org.assertj.core.api.Descriptable<JobAssert>,org.assertj.core.api.ExtensionPoints<JobAssert,Job>
Assertions for a
Job.-
Field Summary
Fields inherited from class org.camunda.bpm.engine.test.assertions.bpmn.AbstractProcessAssert
engineFields inherited from class org.assertj.core.api.AbstractAssert
actual, info, myself, objects, throwUnsupportedExceptionOnEquals -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static JobAssertassertThat(ProcessEngine engine, Job actual) protected ExecutionQueryprotected JobhasActivityId(String activityId) hasDeploymentId(String expectedDeploymentId) Verifies the expectation of a specific deployment id for theJob.hasDueDate(Date expectedDueDate) Verifies the expectation of a specific due date for theJob.Verifies the expectation of the existence of an exception message for theJob.hasExecutionId(String expectedExecutionId) Verifies the expectation of a specific execution id for theJob.Verifies the expectation of a specific id for theJob.hasProcessInstanceId(String expectedProcessInstanceId) Verifies the expectation of a specific process instance id for theJob.hasRetries(int expectedRetries) Verifies the expectation of a specific number of retries left for theJob.protected JobQueryjobQuery()protected StringMethods inherited from class org.camunda.bpm.engine.test.assertions.bpmn.AbstractProcessAssert
caseDefinitionQuery, caseExecutionQuery, caseInstanceQuery, caseService, externalTaskQuery, externalTaskService, formService, getActual, getExistingCurrent, getLastAssert, historicActivityInstanceQuery, historicCaseActivityInstanceQuery, historicProcessInstanceQuery, historicVariableInstanceQuery, historyService, managementService, processDefinitionQuery, processInstanceQuery, repositoryService, resetLastAsserts, runtimeService, taskQuery, taskServiceMethods inherited from class org.assertj.core.api.AbstractAssert
actual, areEqual, asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, doesNotHaveToString, doesNotMatch, doesNotMatch, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, hasToString, inBinary, inHexadecimal, is, isElementOfCustomAssert, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, overridingErrorMessage, satisfies, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, satisfiesAnyOfForProxy, satisfiesForProxy, setCustomRepresentation, setDescriptionConsumer, setPrintAssertionsDescription, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, usingEquals, usingEquals, usingRecursiveAssertion, usingRecursiveAssertion, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnErrorMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.assertj.core.api.Descriptable
as, as, as, describedAs, describedAs
-
Constructor Details
-
JobAssert
-
-
Method Details
-
assertThat
-
getCurrent
- Specified by:
getCurrentin classAbstractProcessAssert<JobAssert,Job>
-
hasId
Verifies the expectation of a specific id for theJob.- Parameters:
expectedId- the expected job id- Returns:
- this
JobAssert - See Also:
-
hasDueDate
Verifies the expectation of a specific due date for theJob.- Parameters:
expectedDueDate- the expected due date- Returns:
- this
JobAssert - See Also:
-
hasProcessInstanceId
Verifies the expectation of a specific process instance id for theJob.- Parameters:
expectedProcessInstanceId- the expected process instance id- Returns:
- this
JobAssert - See Also:
-
hasExecutionId
Verifies the expectation of a specific execution id for theJob.- Parameters:
expectedExecutionId- the expected execution id- Returns:
- this
JobAssert - See Also:
-
hasRetries
Verifies the expectation of a specific number of retries left for theJob.- Parameters:
expectedRetries- the expected number of retries- Returns:
- this
JobAssert - See Also:
-
hasExceptionMessage
Verifies the expectation of the existence of an exception message for theJob.- Returns:
- this
JobAssert - See Also:
-
hasDeploymentId
Verifies the expectation of a specific deployment id for theJob.- Parameters:
expectedDeploymentId- the expected deployment id- Returns:
- this
JobAssert - See Also:
-
hasActivityId
-
toString
- Specified by:
toStringin classAbstractProcessAssert<JobAssert,Job>
-
jobQuery
- Overrides:
jobQueryin classAbstractProcessAssert<JobAssert,Job>
-
executionQuery
- Overrides:
executionQueryin classAbstractProcessAssert<JobAssert,Job>
-