public class WGetHttpDeployer extends HttpDeployer
HttpDeployer that runs
a wget process on the target platform to pull the artifacts
from the HTTP server.
NOTE: WGet does not create directories so the target directory for any artifact being deployed must already exist.
Copyright (c) 2015. All Rights Reserved. Oracle Corporation.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
HttpDeployer.ArtifactsHandler, HttpDeployer.BufferSize| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_WGET
Field description
|
| Constructor and Description |
|---|
WGetHttpDeployer(com.oracle.bedrock.Option... options)
Create a
WGetHttpDeployer. |
WGetHttpDeployer(String wgetCommand,
com.oracle.bedrock.Option... options)
Create a
WGetHttpDeployer. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
deployArtifact(URL sourceURL,
String targetFileName,
Platform platform)
Deploy the specified artifact.
|
createExecutor, createServer, curl, curlAt, deploy, deployAllArtifacts, undeploy, wget, wgetAt, withBufferSize, withBufferSizeInKB, withBufferSizeInMBpublic static final String DEFAULT_WGET
public WGetHttpDeployer(com.oracle.bedrock.Option... options)
WGetHttpDeployer.options - the Options controlling the deployerpublic WGetHttpDeployer(String wgetCommand, com.oracle.bedrock.Option... options)
WGetHttpDeployer.wgetCommand - the location of the wget commandoptions - the Options controlling the deployerprotected void deployArtifact(URL sourceURL, String targetFileName, Platform platform)
HttpDeployerdeployArtifact in class HttpDeployersourceURL - the HTTP URL to download the artifact fromtargetFileName - the target file name to download the artifact toplatform - the remote Platform to download the artifact onCopyright © 2017. All rights reserved.