public class SlingPostDeployMethod extends Object implements DeployMethod
Constructor and Description |
---|
SlingPostDeployMethod() |
Modifier and Type | Method and Description |
---|---|
void |
deploy(String targetURL,
File file,
String bundleSymbolicName,
DeployContext context)
Deploy/install a bundle on a Sling instance.
|
void |
undeploy(String targetURL,
File file,
String bundleSymbolicName,
DeployContext context)
Undeploy/uninstall a bundle on a Sling instance.
|
public void deploy(String targetURL, File file, String bundleSymbolicName, DeployContext context) throws org.apache.maven.plugin.MojoExecutionException
DeployMethod
deploy
in interface DeployMethod
targetURL
- Target URLfile
- Bundle filebundleSymbolicName
- Bundle symbolic namecontext
- Deploy context parametersorg.apache.maven.plugin.MojoExecutionException
- Mojo execution executionpublic void undeploy(String targetURL, File file, String bundleSymbolicName, DeployContext context) throws org.apache.maven.plugin.MojoExecutionException
DeployMethod
undeploy
in interface DeployMethod
targetURL
- Target URLfile
- Bundle filebundleSymbolicName
- Bundle symbolic namecontext
- Deploy context parametersorg.apache.maven.plugin.MojoExecutionException
- Mojo execution executionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.