public class DeploymentOptions extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static DeploymentOptions |
DEFAULT
Deployment options with default values: no comment, warning are not ignored, no validity restriction
and 'overwrite' operations without an initial model are not allowed.
|
| Constructor and Description |
|---|
DeploymentOptions() |
| Modifier and Type | Method and Description |
|---|---|
String |
getComment()
Retrieves the deployment comment.
|
Date |
getValidFrom()
Retrieves the moment from when the deployed models will be valid.
|
boolean |
isAllowOverwriteWithoutInitialModel()
Retrieves if 'overwrite' operations without an initial model are allowed.
|
boolean |
isIgnoreWarnings()
Retrieves if the warnings should be ignored during deployment.
|
void |
setAllowOverwriteWithoutInitialModel(boolean allowOverwriteWithoutInitialModel)
Sets whether 'overwrite' operations without an initial model should be allowed.
|
void |
setComment(String comment)
Set the deployment comment.
|
void |
setIgnoreWarnings(boolean ignoreWarnings)
Sets that warnings should be ignored during deployment.
|
void |
setValidFrom(Date validFrom)
Sets the validity start time.
|
public static final DeploymentOptions DEFAULT
public String getComment()
public void setComment(String comment)
comment - the deployment comment.public Date getValidFrom()
public void setValidFrom(Date validFrom)
validFrom - the valid from timestamp or null if there are no validity restrictions.public boolean isIgnoreWarnings()
public void setIgnoreWarnings(boolean ignoreWarnings)
ignoreWarnings - true to ignore warnings, false to treat warnings as errors.public boolean isAllowOverwriteWithoutInitialModel()
public void setAllowOverwriteWithoutInitialModel(boolean allowOverwriteWithoutInitialModel)
allowOverwriteWithoutInitialModel - whether 'overwrite' operations without an initial model should be allowedCopyright © 2016 Eclipse Stardust. All Rights Reserved.