public abstract class AbstractDeploymentSpecFluentAssert<S extends AbstractDeploymentSpecFluentAssert<S,A>,A extends io.fabric8.kubernetes.api.model.extensions.DeploymentSpecFluent>
extends org.assertj.core.api.AbstractAssert<S,A>
DeploymentSpecFluent
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractDeploymentSpecFluentAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual DeploymentSpecFluent. |
Modifier and Type | Method and Description |
---|---|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual DeploymentSpecFluent's additionalProperties is equal to the given one.
|
S |
hasMinReadySeconds(Integer minReadySeconds)
Verifies that the actual DeploymentSpecFluent's minReadySeconds is equal to the given one.
|
S |
hasReplicas(Integer replicas)
Verifies that the actual DeploymentSpecFluent's replicas is equal to the given one.
|
S |
hasRevisionHistoryLimit(Integer revisionHistoryLimit)
Verifies that the actual DeploymentSpecFluent's revisionHistoryLimit is equal to the given one.
|
S |
hasRollbackTo(io.fabric8.kubernetes.api.model.extensions.RollbackConfig rollbackTo)
Verifies that the actual DeploymentSpecFluent's rollbackTo is equal to the given one.
|
S |
hasSelector(io.fabric8.kubernetes.api.model.extensions.LabelSelector selector)
Verifies that the actual DeploymentSpecFluent's selector is equal to the given one.
|
S |
hasStrategy(io.fabric8.kubernetes.api.model.extensions.DeploymentStrategy strategy)
Verifies that the actual DeploymentSpecFluent's strategy is equal to the given one.
|
S |
hasTemplate(io.fabric8.kubernetes.api.model.PodTemplateSpec template)
Verifies that the actual DeploymentSpecFluent's template 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 AbstractDeploymentSpecFluentAssert(A actual, Class<S> selfType)
AbstractDeploymentSpecFluentAssert
to make assertions on actual DeploymentSpecFluent.actual
- the DeploymentSpecFluent we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual DeploymentSpecFluent's additionalProperties to.AssertionError
- - if the actual DeploymentSpecFluent's additionalProperties is not equal to the given one.public S hasMinReadySeconds(Integer minReadySeconds)
minReadySeconds
- the given minReadySeconds to compare the actual DeploymentSpecFluent's minReadySeconds to.AssertionError
- - if the actual DeploymentSpecFluent's minReadySeconds is not equal to the given one.public S hasReplicas(Integer replicas)
replicas
- the given replicas to compare the actual DeploymentSpecFluent's replicas to.AssertionError
- - if the actual DeploymentSpecFluent's replicas is not equal to the given one.public S hasRevisionHistoryLimit(Integer revisionHistoryLimit)
revisionHistoryLimit
- the given revisionHistoryLimit to compare the actual DeploymentSpecFluent's revisionHistoryLimit to.AssertionError
- - if the actual DeploymentSpecFluent's revisionHistoryLimit is not equal to the given one.public S hasRollbackTo(io.fabric8.kubernetes.api.model.extensions.RollbackConfig rollbackTo)
rollbackTo
- the given rollbackTo to compare the actual DeploymentSpecFluent's rollbackTo to.AssertionError
- - if the actual DeploymentSpecFluent's rollbackTo is not equal to the given one.public S hasSelector(io.fabric8.kubernetes.api.model.extensions.LabelSelector selector)
selector
- the given selector to compare the actual DeploymentSpecFluent's selector to.AssertionError
- - if the actual DeploymentSpecFluent's selector is not equal to the given one.public S hasStrategy(io.fabric8.kubernetes.api.model.extensions.DeploymentStrategy strategy)
strategy
- the given strategy to compare the actual DeploymentSpecFluent's strategy to.AssertionError
- - if the actual DeploymentSpecFluent's strategy is not equal to the given one.public S hasTemplate(io.fabric8.kubernetes.api.model.PodTemplateSpec template)
template
- the given template to compare the actual DeploymentSpecFluent's template to.AssertionError
- - if the actual DeploymentSpecFluent's template is not equal to the given one.Copyright © 2011–2016 Red Hat. All rights reserved.