@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.Extension extension,
org.apache.sling.feature.io.ArtifactManager manager)
Try to scan the extension and return a descriptor
|
String getId()
String getName()
ContainerDescriptor scan(org.apache.sling.feature.Extension extension, org.apache.sling.feature.io.ArtifactManager manager) throws IOException
extension - The extensionmanager - Artifact managernull if the scanner does not know the extensionIOException - If an error occurs while scanning the extension or the extension is invalidCopyright © 2007–2018 The Apache Software Foundation. All rights reserved.