public final class SlingInitialContentMounter extends Object
Constructor and Description |
---|
SlingInitialContentMounter(org.apache.maven.plugin.logging.Log log,
org.apache.commons.httpclient.HttpClient httpClient,
org.apache.maven.project.MavenProject project) |
Modifier and Type | Method and Description |
---|---|
void |
mount(String targetUrl,
File bundleFile)
Add configurations to a running OSGi instance for initial content.
|
void |
unmount(String targetUrl,
File bundleFile)
Remove configurations from a running OSGi instance for initial content.
|
public SlingInitialContentMounter(org.apache.maven.plugin.logging.Log log, org.apache.commons.httpclient.HttpClient httpClient, org.apache.maven.project.MavenProject project)
public void mount(String targetUrl, File bundleFile) throws org.apache.maven.plugin.MojoExecutionException
targetUrl
- The web console base urlbundleFile
- The artifact (bundle)org.apache.maven.plugin.MojoExecutionException
- Exceptionpublic void unmount(String targetUrl, File bundleFile) throws org.apache.maven.plugin.MojoExecutionException
targetUrl
- The web console base urlbundleFile
- The artifact (bundle)org.apache.maven.plugin.MojoExecutionException
- ExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.