public class WebDavPutDeployMethod extends Object implements DeployMethod
Constructor and Description |
---|
WebDavPutDeployMethod() |
Modifier and Type | Method and Description |
---|---|
void |
deploy(URI targetURL,
File file,
String bundleSymbolicName,
DeployContext context)
Deploy/install a bundle on a Sling instance.
|
void |
undeploy(URI targetURL,
String bundleName,
DeployContext context)
Undeploy/uninstall a bundle on a Sling instance.
|
public void deploy(URI targetURL, File file, String bundleSymbolicName, DeployContext context) throws IOException
DeployMethod
deploy
in interface DeployMethod
targetURL
- Target URLfile
- Bundle filebundleSymbolicName
- Bundle symbolic namecontext
- Deploy context parametersIOException
- in case of failurepublic void undeploy(URI targetURL, String bundleName, DeployContext context) throws IOException
DeployMethod
undeploy
in interface DeployMethod
targetURL
- Target URLbundleName
- Bundle symbolic name or file name (for all methods except for FelixPostDeployMethod
)context
- Deploy context parametersIOException
- in case of failureCopyright © 2007–2022 The Apache Software Foundation. All rights reserved.