Class FelixPostDeployMethod

    • Constructor Detail

      • FelixPostDeployMethod

        public FelixPostDeployMethod()
    • Method Detail

      • deploy

        public void deploy​(URI targetURL,
                           File file,
                           String bundleSymbolicName,
                           DeployContext context)
                    throws IOException
        Description copied from interface: DeployMethod
        Deploy/install a bundle on a Sling instance.
        Specified by:
        deploy in interface DeployMethod
        Parameters:
        targetURL - Target URL
        file - Bundle file
        bundleSymbolicName - Bundle symbolic name
        context - Deploy context parameters
        Throws:
        IOException - in case of failure
      • undeploy

        public void undeploy​(URI targetURL,
                             String bundleSymbolicName,
                             DeployContext context)
                      throws IOException
        Description copied from interface: DeployMethod
        Undeploy/uninstall a bundle on a Sling instance.
        Specified by:
        undeploy in interface DeployMethod
        Parameters:
        targetURL - Target URL
        bundleSymbolicName - Bundle symbolic name or file name (for all methods except for FelixPostDeployMethod)
        context - Deploy context parameters
        Throws:
        IOException - in case of failure