Class ContentPackageHandler

    • Constructor Detail

      • ContentPackageHandler

        public ContentPackageHandler()
    • Method Detail

      • handle

        public boolean handle​(ExtensionContext context,
                              org.apache.sling.feature.Extension extension)
                       throws IOException
        Description copied from interface: ExtensionHandler
        Try to handle the extension. As soon as a handler returns true, no other handler is invoked for this extension.
        Specified by:
        handle in interface ExtensionHandler
        Parameters:
        context - Context for the handler
        extension - The feature model extension
        Returns:
        true if the handler handled the extension.
        Throws:
        IOException