public interface IDeploymentTriggerable extends ICapability
| Modifier and Type | Method and Description |
|---|---|
String |
getResourceName()
Returns the name of the deployment config seeded into the deployment request
|
boolean |
isForce()
Returns the latest setting of the force flag.
|
boolean |
isLatest()
Returns the current setting of the latest flag.
|
void |
setForce(boolean force)
If set to try force will try to force a new deployment to run.
|
void |
setLatest(boolean latest)
If set the true latest will update the deployment config with the latest state from all triggers.
|
void |
setResourceName(String name)
The name of the deployment config; note, the name in the corresponding oapi type
is not in the k8s metadata object
|
IDeploymentConfig |
trigger()
Trigger a deployment based on a deployment config
|
getName, isSupportedIDeploymentConfig trigger()
void setLatest(boolean latest)
boolean isLatest()
void setForce(boolean force)
boolean isForce()
void setResourceName(String name)
name - of the deployment configString getResourceName()
Copyright © 2019 Red Hat, Inc. All Rights Reserved.