Class FileVaultXmlMounter


  • public final class FileVaultXmlMounter
    extends Object
    Manages OSGi configurations for File System Resource Provider for File Vault XML.
    • Constructor Summary

      Constructors 
      Constructor Description
      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)  
    • Constructor Detail

      • 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 Detail

      • 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 url
        jcrRootFile - jcr_root directory
        filterXmlFile - 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 url
        jcrRootFile - jcr_root directory
        filterXmlFile - FileVault Filter XML file
        Throws:
        org.apache.maven.plugin.MojoExecutionException - Exception