public class DeploymentPropertiesUtils extends Object
| Constructor and Description |
|---|
DeploymentPropertiesUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Properties |
resolveDeploymentProperties(String artifactName,
Optional<Properties> deploymentProperties)
This method resolves the deploymentProperties for a certain artifact.
|
static Properties |
resolveDeploymentProperties(String artifactName,
Optional<Properties> deploymentProperties,
String fileName)
This method resolves the deploymentProperties for a new deploy/redeploy considering the new deployment properties passed by
the user as parameter and the deployment properties persisted in a previous deploy.
|
static Properties |
resolveFlowDeploymentProperties(String appName,
Optional<Properties> deploymentProperties)
This method resolves the deploymentProperties for a flow of a certain app.
|
public static Properties resolveDeploymentProperties(String artifactName, Optional<Properties> deploymentProperties, String fileName) throws IOException
artifactName - name of the artifact.deploymentProperties - deployment properties set in the new deploy/redeploy as parameters.fileName - name of the file where the deployment properties are persisted.IOExceptionpublic static Properties resolveDeploymentProperties(String artifactName, Optional<Properties> deploymentProperties) throws IOException
artifactName - name of the artifact.deploymentProperties - deployment properties set in the new deploy/redeploy as parameters.IOExceptionpublic static Properties resolveFlowDeploymentProperties(String appName, Optional<Properties> deploymentProperties) throws IOException
appName - name of the application that contains the flows.deploymentProperties - deployment properties set in the new deploy/redeploy as parameters.IOExceptionCopyright © 2003–2021 MuleSoft, Inc.. All rights reserved.