@ConsumerType
public interface ExtensionScanner
Modifier and Type | Method and Description |
---|---|
String |
getId()
A unique (short) ID.
|
String |
getName()
A human readable name to identify the scanner.
|
ContainerDescriptor |
scan(org.apache.sling.feature.Feature feature,
org.apache.sling.feature.Extension extension,
org.apache.sling.feature.builder.ArtifactProvider provider)
Try to scan the extension and return a descriptor
|
String getId()
String getName()
ContainerDescriptor scan(org.apache.sling.feature.Feature feature, org.apache.sling.feature.Extension extension, org.apache.sling.feature.builder.ArtifactProvider provider) throws IOException
feature
- The feature the extension belongs toextension
- The extensionprovider
- Artifact providernull
if the scanner does not know the extensionIOException
- If an error occurs while scanning the extension or the extension is invalidCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.