@ConfigurationProperties(prefix="spring.cloud.deployer.kubernetes") public class KubernetesTaskLauncherProperties extends Object
| Constructor and Description |
|---|
KubernetesTaskLauncherProperties() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getBackoffLimit()
Get the BackoffLimit value
|
RestartPolicy |
getRestartPolicy()
Obtains the
RestartPolicy to use. |
Integer |
getTtlSecondsAfterFinished()
Get the ttlSecondsAfterFinished value
|
void |
setBackoffLimit(Integer backoffLimit)
Sets the BackoffLimit.
|
void |
setRestartPolicy(RestartPolicy restartPolicy)
Sets the
RestartPolicy to use. |
void |
setTtlSecondsAfterFinished(Integer ttlSecondsAfterFinished)
Sets the ttlSecondsAfterFinished.
|
public RestartPolicy getRestartPolicy()
RestartPolicy to use. Defaults to
restartPolicy.RestartPolicy to usepublic void setRestartPolicy(RestartPolicy restartPolicy)
RestartPolicy to use.restartPolicy - the RestartPolicy to usepublic Integer getBackoffLimit()
public void setBackoffLimit(Integer backoffLimit)
backoffLimit - the integer value of BackoffLimitpublic Integer getTtlSecondsAfterFinished()
public void setTtlSecondsAfterFinished(Integer ttlSecondsAfterFinished)
ttlSecondsAfterFinished - the integer value of ttlSecondsAfterFinishedCopyright © 2023 Pivotal Software, Inc.. All rights reserved.