|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ArtifactAnalyzer
Strategy interface for scanning artefacts in a JAR file and adding to the PartialManifest
.
Method Summary | |
---|---|
void |
analyse(java.io.InputStream artifact,
java.lang.String artifactName,
PartialManifest partialManifest)
Analyse the supplied artefact and update the supplied PartialManifest as needed. |
boolean |
canAnalyse(java.lang.String artifactName)
Can this ArtifactAnalyzer analyse the artefact with the supplied name. |
Method Detail |
---|
void analyse(java.io.InputStream artifact, java.lang.String artifactName, PartialManifest partialManifest) throws java.lang.Exception
PartialManifest
as needed.
artefact
- the artefact to scan.artefactName
- the name of the artefact.partialManifest
- the PartialManifest
to update.
java.lang.Exception
- if an error occurs during scanning.boolean canAnalyse(java.lang.String artifactName)
ArtifactAnalyzer
analyse the artefact with the supplied name.
artefactName
- the name of the artefact.
true
if the artefact can be analysed; otherwise false
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |