public interface Deployer
extends com.oracle.bedrock.Option
Deployer is able to deploy and undeploy DeploymentArtifacts to and from
a specified Platform using a specific type of file transfer.
Copyright (c) 2015. All Rights Reserved. Oracle Corporation.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
| Modifier and Type | Method and Description |
|---|---|
DeployedArtifacts |
deploy(List<DeploymentArtifact> artifactsToDeploy,
String remoteDirectory,
Platform platform,
com.oracle.bedrock.Option... deploymentOptions)
Deploy the list of
DeploymentArtifacts to the specified Platform, returning the
DeployedArtifacts representing the actual Files deployed and their location. |
DeployedArtifacts |
undeploy(DeployedArtifacts deployedArtifacts,
Platform platform,
com.oracle.bedrock.Option... deploymentOptions)
Undeploy the
DeployedArtifacts on the specified Platform, returning the
DeployedArtifacts that were not undeployed successfully. |
DeployedArtifacts deploy(List<DeploymentArtifact> artifactsToDeploy, String remoteDirectory, Platform platform, com.oracle.bedrock.Option... deploymentOptions)
DeploymentArtifacts to the specified Platform, returning the
DeployedArtifacts representing the actual Files deployed and their location.artifactsToDeploy - the DeploymentArtifacts to deployremoteDirectory - the target directory to deploy the DeploymentArtifacts to if no
destination is specified for a DeploymentArtifactplatform - the target Platform to deploy the DeploymentArtifacts todeploymentOptions - the Options that can be applied to control the deploymentDeployedArtifactsDeployedArtifacts undeploy(DeployedArtifacts deployedArtifacts, Platform platform, com.oracle.bedrock.Option... deploymentOptions)
DeployedArtifacts on the specified Platform, returning the
DeployedArtifacts that were not undeployed successfully.deployedArtifacts - the DeployedArtifacts to undeployplatform - the PlatformdeploymentOptions - the Options used for deployment and undeploymentDeployedArtifacts that were failed to undeployCopyright © 2017. All rights reserved.