public class PackageInfoArchiveEntryHandler extends AbstractJavaArtifactArchiveEntryHandler
Modifier and Type | Class and Description |
---|---|
static interface |
PackageInfoArchiveEntryHandler.Callback
Contract for the thing interested in being notified about accepted package-info descriptors.
|
Constructor and Description |
---|
PackageInfoArchiveEntryHandler(ScanOptions scanOptions,
PackageInfoArchiveEntryHandler.Callback callback) |
Modifier and Type | Method and Description |
---|---|
void |
handleEntry(ArchiveEntry entry,
ArchiveContext context)
Handle the entry
|
protected void |
notifyMatchedPackage(PackageDescriptor packageDescriptor) |
protected PackageDescriptor |
toPackageDescriptor(ArchiveEntry entry) |
isListedOrDetectable
public PackageInfoArchiveEntryHandler(ScanOptions scanOptions, PackageInfoArchiveEntryHandler.Callback callback)
public void handleEntry(ArchiveEntry entry, ArchiveContext context)
ArchiveEntryHandler
entry
- The entry to handlecontext
- The visitation contextprotected PackageDescriptor toPackageDescriptor(ArchiveEntry entry)
protected final void notifyMatchedPackage(PackageDescriptor packageDescriptor)
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.