public class JSchFileShareDeployer extends FileShareDeployer
FileShareDeployer that uses the
unix cp command via ssh to copy the remote file from the share
to its final destination.| Modifier and Type | Method and Description |
|---|---|
protected boolean |
performRemoteCopy(String source,
String destination,
Platform platform,
com.oracle.bedrock.OptionsByType deploymentOptions)
Perform the copy of the
DeploymentArtifact from the remote share location
to the final target location. |
static Deployer |
sshFileShareDeployer(String localShareName,
String remoteShareName,
com.oracle.bedrock.Option... options)
Create a new
Deployer that deploys artifacts on a *nix remote
platform by using an intermediary file share location to copy the artifacts. |
deploy, getLocalShareName, getRemoteShareName, undeployprotected boolean performRemoteCopy(String source, String destination, Platform platform, com.oracle.bedrock.OptionsByType deploymentOptions)
FileShareDeployerDeploymentArtifact from the remote share location
to the final target location.performRemoteCopy in class FileShareDeployersource - the file to copy in the remote share folderdestination - the remote location to copy the artifact toplatform - the Platform to perform the remote copy ondeploymentOptions - the OptionsByTypes to control the deploymentpublic static Deployer sshFileShareDeployer(String localShareName, String remoteShareName, com.oracle.bedrock.Option... options)
Deployer that deploys artifacts on a *nix remote
platform by using an intermediary file share location to copy the artifacts.localShareName - the name of the file share on the local platformremoteShareName - the name of the file share eon the remote platformoptions - the Options to control the deployerDeployerCopyright © 2017. All rights reserved.