Class PowerShellHttpDeployer
- java.lang.Object
-
- com.oracle.bedrock.runtime.remote.http.HttpDeployer
-
- com.oracle.bedrock.runtime.remote.windows.http.PowerShellHttpDeployer
-
- All Implemented Interfaces:
com.oracle.bedrock.Option,Deployer
public class PowerShellHttpDeployer extends HttpDeployer
An implementation ofPowerShellHttpDeployerthat runs a PowerShell Invoke-WebRequest command on the target platform to pull the artifacts from the HTTP server.Copyright (c) 2015. All Rights Reserved. Oracle Corporation.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.- Author:
- Jonathan Knight
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.oracle.bedrock.runtime.remote.http.HttpDeployer
HttpDeployer.ArtifactsHandler, HttpDeployer.BufferSize
-
-
Constructor Summary
Constructors Constructor Description PowerShellHttpDeployer(com.oracle.bedrock.Option... options)Create aPowerShellHttpDeployer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddeployArtifact(URL sourceURL, String targetFileName, com.oracle.bedrock.runtime.Platform platform)-
Methods inherited from class com.oracle.bedrock.runtime.remote.http.HttpDeployer
createExecutor, createServer, curl, curlAt, deploy, deployAllArtifacts, undeploy, wget, wgetAt, withBufferSize, withBufferSizeInKB, withBufferSizeInMB
-
-
-
-
Constructor Detail
-
PowerShellHttpDeployer
public PowerShellHttpDeployer(com.oracle.bedrock.Option... options)
Create aPowerShellHttpDeployer.- Parameters:
options- theOptions controlling the deployer
-
-
Method Detail
-
deployArtifact
protected void deployArtifact(URL sourceURL, String targetFileName, com.oracle.bedrock.runtime.Platform platform)
- Specified by:
deployArtifactin classHttpDeployer
-
-