Class RepoInitScanner

    • Constructor Detail

      • RepoInitScanner

        public RepoInitScanner()
    • Method Detail

      • scan

        public ContainerDescriptor scan​(org.apache.sling.feature.Feature feature,
                                        org.apache.sling.feature.Extension extension,
                                        org.apache.sling.feature.builder.ArtifactProvider provider)
                                 throws IOException
        Description copied from interface: ExtensionScanner
        Try to scan the extension and return a descriptor
        Specified by:
        scan in interface ExtensionScanner
        Parameters:
        feature - The feature the extension belongs to
        extension - The extension
        provider - Artifact provider
        Returns:
        The descriptor or null if the scanner does not know the extension
        Throws:
        IOException - If an error occurs while scanning the extension or the extension is invalid