Interface FrameworkScanner
@ConsumerType
public interface FrameworkScanner
The framework scanner scans the framework
-
Method Summary
Modifier and Type Method Description BundleDescriptor
scan(org.apache.sling.feature.ArtifactId framework, Map<String,String> frameworkProps, org.apache.sling.feature.builder.ArtifactProvider provider)
Try to scan the artifact
-
Method Details
-
scan
BundleDescriptor scan(org.apache.sling.feature.ArtifactId framework, Map<String,String> frameworkProps, org.apache.sling.feature.builder.ArtifactProvider provider) throws IOExceptionTry to scan the artifact- Parameters:
framework
- The framework artifact idframeworkProps
- framework properties to launch the frameworkprovider
- Artifact provider- Returns:
- A descriptor or
null
- Throws:
IOException
- If an error occurs while scanning the platform or the artifact is invalid
-