public class RepositorySearchExposer extends org.codehaus.plexus.logging.AbstractLogEnabled implements JarIdentificationExposer
setBytecodeHashAnalyzer(org.apache.maven.shared.jar.identification.hash.JarHashAnalyzer)
,
setFileHashAnalyzer(org.apache.maven.shared.jar.identification.hash.JarHashAnalyzer)
,
setRepositoryHashSearch(org.apache.maven.shared.jar.identification.repository.RepositoryHashSearch)
|
Constructor and Description |
---|
RepositorySearchExposer() |
Modifier and Type | Method and Description |
---|---|
void |
expose(JarIdentification identification,
JarAnalyzer jarAnalyzer)
Expose metadata during the identification process.
|
void |
setBytecodeHashAnalyzer(JarHashAnalyzer bytecodeHashAnalyzer) |
void |
setFileHashAnalyzer(JarHashAnalyzer fileHashAnalyzer) |
void |
setRepositoryHashSearch(RepositoryHashSearch repo) |
public void expose(JarIdentification identification, JarAnalyzer jarAnalyzer)
JarIdentificationExposer
expose
in interface JarIdentificationExposer
identification
- the identification record to populate with the exposed metadatajarAnalyzer
- the JAR to obtain the information from. Should be treated as read only, with the exception
of caching the metadata if it would be identical when run over the same file again.public void setRepositoryHashSearch(RepositoryHashSearch repo)
public void setFileHashAnalyzer(JarHashAnalyzer fileHashAnalyzer)
public void setBytecodeHashAnalyzer(JarHashAnalyzer bytecodeHashAnalyzer)
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.