public interface DeployMethod
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.
|
void deploy(URI targetURL, File file, String bundleSymbolicName, DeployContext context) throws IOException
targetURL
- Target URLfile
- Bundle filebundleSymbolicName
- Bundle symbolic namecontext
- Deploy context parametersIOException
- in case of failurevoid undeploy(URI targetURL, String bundleName, DeployContext context) throws IOException
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.