|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.assertj.core.api.AbstractAssert<S,A>
org.camunda.bpm.engine.test.assertions.AbstractProcessAssert<JobAssert,org.camunda.bpm.engine.runtime.Job>
org.camunda.bpm.engine.test.assertions.JobAssert
public class JobAssert
Assertions for a Job
Method Summary | |
---|---|
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 . |
Methods inherited from class org.camunda.bpm.engine.test.assertions.AbstractProcessAssert |
---|
getActual, getLastAssert, resetLastAsserts |
Methods inherited from class org.assertj.core.api.AbstractAssert |
---|
as, as, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, has, hashCode, hasSameClassAs, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, overridingErrorMessage, usingComparator, usingDefaultComparator |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public JobAssert hasId(String expectedId)
Job
.
expectedId
- the expected job id
JobAssert
Job.getId()
public JobAssert hasDueDate(Date expectedDueDate)
Job
.
expectedDueDate
- the expected due date
JobAssert
Job.getDuedate()
public JobAssert hasProcessInstanceId(String expectedProcessInstanceId)
Job
.
expectedProcessInstanceId
- the expected process instance id
JobAssert
Job.getProcessInstanceId()
public JobAssert hasExecutionId(String expectedExecutionId)
Job
.
expectedExecutionId
- the expected execution id
JobAssert
Job.getExecutionId()
public JobAssert hasRetries(int expectedRetries)
Job
.
expectedRetries
- the expected number of retries
JobAssert
Job.getExecutionId()
public JobAssert hasExceptionMessage()
Job
.
JobAssert
Job.getExceptionMessage()
public JobAssert hasDeploymentId(String expectedDeploymentId)
Job
.
expectedDeploymentId
- the expected deployment id
JobAssert
Job.getDeploymentId()
public JobAssert hasActivityId(String activityId)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |