Class WindowsFileShareDeployer
- java.lang.Object
-
- com.oracle.bedrock.runtime.remote.options.FileShareDeployer
-
- com.oracle.bedrock.runtime.remote.windows.WindowsFileShareDeployer
-
- All Implemented Interfaces:
com.oracle.bedrock.Option,Deployer
public class WindowsFileShareDeployer extends FileShareDeployer
An implementation of aFileShareDeployerthat uses the Windows move command via WinRM to copy the remote file from the share to its final destination.- Author:
- jk 2015.07.13
-
-
Constructor Summary
Constructors Constructor Description WindowsFileShareDeployer(String localShareName, String remoteShareName, com.oracle.bedrock.Option... options)Create aWindowsFileShareDeployerthat uses the specified local and remote file share to deploy artifacts.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanperformRemoteCopy(String source, String destination, com.oracle.bedrock.runtime.Platform platform, com.oracle.bedrock.OptionsByType deploymentOptions)-
Methods inherited from class com.oracle.bedrock.runtime.remote.options.FileShareDeployer
deploy, getLocalShareName, getRemoteShareName, undeploy
-
-
-
-
Constructor Detail
-
WindowsFileShareDeployer
public WindowsFileShareDeployer(String localShareName, String remoteShareName, com.oracle.bedrock.Option... options)
Create aWindowsFileShareDeployerthat uses the specified local and remote file share to deploy artifacts.- Parameters:
localShareName- the name of the file share on the local platformremoteShareName- the name of the file share eon the remote platformoptions- theOptions to control the deployer
-
-
Method Detail
-
performRemoteCopy
protected boolean performRemoteCopy(String source, String destination, com.oracle.bedrock.runtime.Platform platform, com.oracle.bedrock.OptionsByType deploymentOptions) throws IOException
- Specified by:
performRemoteCopyin classFileShareDeployer- Throws:
IOException
-
-