public abstract class AbstractDeploymentValidator extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Deployment |
deployment
The deployment to be validated.
|
| Constructor and Description |
|---|
AbstractDeploymentValidator(Deployment deployment) |
| Modifier and Type | Method and Description |
|---|---|
abstract EnvironmentSupportedVersions |
getEnvironmentSupportedVersions()
Retrieves the supported mule runtime version in a specific environment.
|
void |
validateMuleVersionAgainstEnvironment()
Validates that the mule runtime version declared in the deployment configuration is supported by the deployment environment.
|
protected final Deployment deployment
public AbstractDeploymentValidator(Deployment deployment)
public void validateMuleVersionAgainstEnvironment()
throws DeploymentException
DeploymentException - if the mule runtime version cannot be resolved; if the mule runtime version is not declared; or
if the declared mule runtime version is not supported by the environment.public abstract EnvironmentSupportedVersions getEnvironmentSupportedVersions() throws DeploymentException
DeploymentException - if the mule runtime version cannot be resolved.Copyright © 2019 MuleSoft Inc. All rights reserved.