Class FileVaultXmlMounter
java.lang.Object
org.apache.sling.maven.bundlesupport.fsresource.FileVaultXmlMounter
Manages OSGi configurations for File System Resource Provider for File Vault XML.
-
Constructor Summary
ConstructorsConstructorDescriptionFileVaultXmlMounter(org.apache.maven.plugin.logging.Log log, org.apache.hc.client5.http.impl.classic.CloseableHttpClient httpClient, org.apache.hc.client5.http.config.RequestConfig.Builder requestConfigBuilder, org.apache.maven.project.MavenProject project) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd configurations to a running OSGi instance for FileVault XMLvoidRemove configurations to a running OSGi instance for FileVault XML
-
Constructor Details
-
FileVaultXmlMounter
public FileVaultXmlMounter(org.apache.maven.plugin.logging.Log log, org.apache.hc.client5.http.impl.classic.CloseableHttpClient httpClient, org.apache.hc.client5.http.config.RequestConfig.Builder requestConfigBuilder, org.apache.maven.project.MavenProject project)
-
-
Method Details
-
mount
public void mount(URI consoleTargetUrl, File jcrRootFile, File filterXmlFile) throws org.apache.maven.plugin.MojoExecutionException Add configurations to a running OSGi instance for FileVault XML- Parameters:
consoleTargetUrl- The web console base urljcrRootFile- jcr_root directoryfilterXmlFile- FileVault Filter XML file- Throws:
org.apache.maven.plugin.MojoExecutionException- Exception
-
unmount
public void unmount(URI consoleTargetUrl, File jcrRootFile, File filterXmlFile) throws org.apache.maven.plugin.MojoExecutionException Remove configurations to a running OSGi instance for FileVault XML- Parameters:
consoleTargetUrl- The web console base urljcrRootFile- jcr_root directoryfilterXmlFile- FileVault Filter XML file- Throws:
org.apache.maven.plugin.MojoExecutionException- Exception
-