public class ContentPackagesExtensionScanner extends Object implements ExtensionScanner
Constructor and Description |
---|
ContentPackagesExtensionScanner() |
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
|
public String getId()
ExtensionScanner
getId
in interface ExtensionScanner
public String getName()
ExtensionScanner
getName
in interface ExtensionScanner
public ContainerDescriptor scan(org.apache.sling.feature.Feature feature, org.apache.sling.feature.Extension extension, org.apache.sling.feature.builder.ArtifactProvider provider) throws IOException
ExtensionScanner
scan
in interface ExtensionScanner
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.