public class DeploymentRequest extends TypeMeta implements IDeploymentRequest
ANNOTATIONS, APIVERSION, CREATION_TIMESTAMP, FROM, GROUP, KIND, LABELS, METADATA, METADATA_NAME, METADATA_NAMESPACE, METADATA_RESOURCE_VERSION, METADATA_UID, NAME, NAMESPACE, OBJECTS, PORTS, PROTOCOL, RESOURCE_VERSION, TYPE, VALUE, VERBS, VERSION| Constructor and Description |
|---|
DeploymentRequest(org.jboss.dmr.ModelNode node,
Map<String,String[]> overrideProperties) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
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 |
setName(String name)
The name of the deployment config; note, the name in the corresponding oapi type
is not in the k8s metadata object
|
getApiVersion, getKindgetNode, getPropertyKeys, toJson, toJson, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetApiVersiontoJson, toJsonpublic void setLatest(boolean latest)
IDeploymentRequestsetLatest in interface IDeploymentRequestpublic boolean isLatest()
IDeploymentRequestisLatest in interface IDeploymentRequestpublic void setForce(boolean force)
IDeploymentRequestsetForce in interface IDeploymentRequestpublic boolean isForce()
IDeploymentRequestisForce in interface IDeploymentRequestpublic String getName()
IDeploymentRequestgetName in interface IDeploymentRequestpublic void setName(String name)
IDeploymentRequestsetName in interface INameSetablesetName in interface IDeploymentRequestname - of the deployment configCopyright © 2020 Red Hat, Inc. All Rights Reserved.