public abstract class AbstractRollingDeploymentStrategyParamsAssert<S extends AbstractRollingDeploymentStrategyParamsAssert<S,A>,A extends io.fabric8.openshift.api.model.RollingDeploymentStrategyParams>
extends org.assertj.core.api.AbstractAssert<S,A>
RollingDeploymentStrategyParams
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractRollingDeploymentStrategyParamsAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual RollingDeploymentStrategyParams. |
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 |
hasIntervalSeconds(Long intervalSeconds)
Verifies that the actual RollingDeploymentStrategyParams's intervalSeconds is equal to the given one.
|
S |
hasTimeoutSeconds(Long timeoutSeconds)
Verifies that the actual RollingDeploymentStrategyParams's timeoutSeconds is equal to the given one.
|
S |
hasUpdatePeriodSeconds(Long updatePeriodSeconds)
Verifies that the actual RollingDeploymentStrategyParams's updatePeriodSeconds is equal to the given one.
|
IntOrStringAssert |
maxSurge()
Navigates to the property maxSurge so that assertions can be done on it
|
IntOrStringAssert |
maxUnavailable()
Navigates to the property maxUnavailable so that assertions can be done on it
|
LifecycleHookAssert |
post()
Navigates to the property post so that assertions can be done on it
|
LifecycleHookAssert |
pre()
Navigates to the property pre so that assertions can be done on it
|
as, as, asList, asString, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasToString, 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, withFailMessage, withThreadDumpOnError
protected AbstractRollingDeploymentStrategyParamsAssert(A actual, Class<S> selfType)
AbstractRollingDeploymentStrategyParamsAssert
to make assertions on actual RollingDeploymentStrategyParams.actual
- the RollingDeploymentStrategyParams we want to make assertions on.public org.assertj.core.api.MapAssert additionalProperties()
public S hasIntervalSeconds(Long intervalSeconds)
intervalSeconds
- the given intervalSeconds to compare the actual RollingDeploymentStrategyParams's intervalSeconds to.AssertionError
- - if the actual RollingDeploymentStrategyParams's intervalSeconds is not equal to the given one.public IntOrStringAssert maxSurge()
public IntOrStringAssert maxUnavailable()
public LifecycleHookAssert post()
public LifecycleHookAssert pre()
public S hasTimeoutSeconds(Long timeoutSeconds)
timeoutSeconds
- the given timeoutSeconds to compare the actual RollingDeploymentStrategyParams's timeoutSeconds to.AssertionError
- - if the actual RollingDeploymentStrategyParams's timeoutSeconds is not equal to the given one.public S hasUpdatePeriodSeconds(Long updatePeriodSeconds)
updatePeriodSeconds
- the given updatePeriodSeconds to compare the actual RollingDeploymentStrategyParams's updatePeriodSeconds to.AssertionError
- - if the actual RollingDeploymentStrategyParams's updatePeriodSeconds is not equal to the given one.Copyright © 2011–2017 Red Hat. All rights reserved.