Interface FrameworkScanner

  • All Known Implementing Classes:
    FelixFrameworkScanner

    @ConsumerType
    public interface FrameworkScanner
    The framework scanner scans the framework
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      BundleDescriptor scan​(org.apache.sling.feature.ArtifactId framework, java.util.Map<java.lang.String,​java.lang.String> frameworkProps, org.apache.sling.feature.builder.ArtifactProvider provider)
      Try to scan the artifact
    • Method Detail

      • scan

        BundleDescriptor scan​(org.apache.sling.feature.ArtifactId framework,
                              java.util.Map<java.lang.String,​java.lang.String> frameworkProps,
                              org.apache.sling.feature.builder.ArtifactProvider provider)
                       throws java.io.IOException
        Try to scan the artifact
        Parameters:
        framework - The framework artifact id
        frameworkProps - framework properties to launch the framework
        provider - Artifact provider
        Returns:
        A descriptor or null
        Throws:
        java.io.IOException - If an error occurs while scanning the platform or the artifact is invalid