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
An implementation of
PowerShellHttpDeployer that 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.BufferSizeNested 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
ConstructorsConstructorDescriptionPowerShellHttpDeployer(com.oracle.bedrock.Option... options) Create aPowerShellHttpDeployer. -
Method Summary
Modifier and TypeMethodDescriptionprotected 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 Details
-
PowerShellHttpDeployer
public PowerShellHttpDeployer(com.oracle.bedrock.Option... options) Create aPowerShellHttpDeployer.- Parameters:
options- theOptions controlling the deployer
-
-
Method Details
-
deployArtifact
protected void deployArtifact(URL sourceURL, String targetFileName, com.oracle.bedrock.runtime.Platform platform) - Specified by:
deployArtifactin classHttpDeployer
-