public abstract class AbstractJobSpecAssert<S extends AbstractJobSpecAssert<S,A>,A extends io.fabric8.kubernetes.api.model.batch.JobSpec>
extends org.assertj.core.api.AbstractAssert<S,A>
JobSpec
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractJobSpecAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual JobSpec. |
Modifier and Type | Method and Description |
---|---|
org.assertj.core.api.MapAssert |
additionalProperties()
Navigates to the property additionalProperties so that assertions can be done on it
|
S |
hasActiveDeadlineSeconds(Long activeDeadlineSeconds)
Verifies that the actual JobSpec's activeDeadlineSeconds is equal to the given one.
|
S |
hasBackoffLimit(Integer backoffLimit)
Verifies that the actual JobSpec's backoffLimit is equal to the given one.
|
S |
hasCompletions(Integer completions)
Verifies that the actual JobSpec's completions is equal to the given one.
|
S |
hasParallelism(Integer parallelism)
Verifies that the actual JobSpec's parallelism is equal to the given one.
|
S |
hasTtlSecondsAfterFinished(Integer ttlSecondsAfterFinished)
Verifies that the actual JobSpec's ttlSecondsAfterFinished is equal to the given one.
|
org.assertj.core.api.BooleanAssert |
manualSelector()
Navigates to the property manualSelector so that assertions can be done on it
|
LabelSelectorAssert |
selector()
Navigates to the property selector so that assertions can be done on it
|
PodTemplateSpecAssert |
template()
Navigates to the property template so that assertions can be done on it
|
asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, setCustomRepresentation, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withRepresentation, withThreadDumpOnError
protected AbstractJobSpecAssert(A actual, Class<S> selfType)
AbstractJobSpecAssert
to make assertions on actual JobSpec.actual
- the JobSpec we want to make assertions on.public S hasActiveDeadlineSeconds(Long activeDeadlineSeconds)
activeDeadlineSeconds
- the given activeDeadlineSeconds to compare the actual JobSpec's activeDeadlineSeconds to.AssertionError
- - if the actual JobSpec's activeDeadlineSeconds is not equal to the given one.public org.assertj.core.api.MapAssert additionalProperties()
public S hasBackoffLimit(Integer backoffLimit)
backoffLimit
- the given backoffLimit to compare the actual JobSpec's backoffLimit to.AssertionError
- - if the actual JobSpec's backoffLimit is not equal to the given one.public S hasCompletions(Integer completions)
completions
- the given completions to compare the actual JobSpec's completions to.AssertionError
- - if the actual JobSpec's completions is not equal to the given one.public org.assertj.core.api.BooleanAssert manualSelector()
public S hasParallelism(Integer parallelism)
parallelism
- the given parallelism to compare the actual JobSpec's parallelism to.AssertionError
- - if the actual JobSpec's parallelism is not equal to the given one.public LabelSelectorAssert selector()
public PodTemplateSpecAssert template()
public S hasTtlSecondsAfterFinished(Integer ttlSecondsAfterFinished)
ttlSecondsAfterFinished
- the given ttlSecondsAfterFinished to compare the actual JobSpec's ttlSecondsAfterFinished to.AssertionError
- - if the actual JobSpec's ttlSecondsAfterFinished is not equal to the given one.Copyright © 2020. All rights reserved.