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
An implementation of a
FileShareDeployer that uses the
Windows move command via WinRM to copy the remote file from the
share to its final destination.- Author:
- jk 2015.07.13
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.oracle.bedrock.Option
com.oracle.bedrock.Option.Collectable, com.oracle.bedrock.Option.Collector<C extends com.oracle.bedrock.Option.Collectable,T extends com.oracle.bedrock.Option.Collector<C, T>> -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionWindowsFileShareDeployer(String localShareName, String remoteShareName, com.oracle.bedrock.Option... options) Create aWindowsFileShareDeployerthat uses the specified local and remote file share to deploy artifacts. -
Method Summary
Modifier and TypeMethodDescriptionprotected 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 Details
-
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 Details
-
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
-