@Generated(value="org.jsonschema2pojo") public class LifecycleHook extends Object
| Constructor and Description |
|---|
LifecycleHook()
No args constructor for use in serialization
|
LifecycleHook(ExecNewPodHook execNewPod,
String failurePolicy,
List<TagImageHook> tagImages) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getAdditionalProperties() |
ExecNewPodHook |
getExecNewPod() |
String |
getFailurePolicy()
what action to take if the hook fails
|
List<TagImageHook> |
getTagImages()
a list of image stream tags that should be updated to the latest value on this deployment if the deployment succeeds
|
void |
setAdditionalProperty(String name,
Object value) |
void |
setExecNewPod(ExecNewPodHook execNewPod) |
void |
setFailurePolicy(String failurePolicy)
what action to take if the hook fails
|
void |
setTagImages(List<TagImageHook> tagImages)
a list of image stream tags that should be updated to the latest value on this deployment if the deployment succeeds
|
public LifecycleHook()
public LifecycleHook(ExecNewPodHook execNewPod, String failurePolicy, List<TagImageHook> tagImages)
tagImages - execNewPod - failurePolicy - public ExecNewPodHook getExecNewPod()
public void setExecNewPod(ExecNewPodHook execNewPod)
execNewPod - The execNewPodpublic String getFailurePolicy()
public void setFailurePolicy(String failurePolicy)
failurePolicy - The failurePolicypublic List<TagImageHook> getTagImages()
public void setTagImages(List<TagImageHook> tagImages)
tagImages - The tagImagesCopyright © 2011–2016 Red Hat. All rights reserved.