public abstract class AbstractRestartPolicyAssert<S extends AbstractRestartPolicyAssert<S,A>,A extends io.fabric8.kubernetes.api.model.RestartPolicy>
extends org.assertj.core.api.AbstractAssert<S,A>
RestartPolicy
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractRestartPolicyAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual RestartPolicy. |
Modifier and Type | Method and Description |
---|---|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual RestartPolicy's additionalProperties is equal to the given one.
|
S |
hasAlways(io.fabric8.kubernetes.api.model.RestartPolicyAlways always)
Verifies that the actual RestartPolicy's always is equal to the given one.
|
S |
hasNever(io.fabric8.kubernetes.api.model.RestartPolicyNever never)
Verifies that the actual RestartPolicy's never is equal to the given one.
|
S |
hasOnFailure(io.fabric8.kubernetes.api.model.RestartPolicyOnFailure onFailure)
Verifies that the actual RestartPolicy's onFailure is equal to the given one.
|
as, as, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, overridingErrorMessage, usingComparator, usingDefaultComparator
protected AbstractRestartPolicyAssert(A actual, Class<S> selfType)
AbstractRestartPolicyAssert
to make assertions on actual RestartPolicy.actual
- the RestartPolicy we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual RestartPolicy's additionalProperties to.AssertionError
- - if the actual RestartPolicy's additionalProperties is not equal to the given one.public S hasAlways(io.fabric8.kubernetes.api.model.RestartPolicyAlways always)
always
- the given always to compare the actual RestartPolicy's always to.AssertionError
- - if the actual RestartPolicy's always is not equal to the given one.public S hasNever(io.fabric8.kubernetes.api.model.RestartPolicyNever never)
never
- the given never to compare the actual RestartPolicy's never to.AssertionError
- - if the actual RestartPolicy's never is not equal to the given one.public S hasOnFailure(io.fabric8.kubernetes.api.model.RestartPolicyOnFailure onFailure)
onFailure
- the given onFailure to compare the actual RestartPolicy's onFailure to.AssertionError
- - if the actual RestartPolicy's onFailure is not equal to the given one.Copyright © 2011–2015 Red Hat. All rights reserved.