Class RepositorySearchExposer
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.apache.maven.shared.jar.identification.exposers.RepositorySearchExposer
- All Implemented Interfaces:
JarIdentificationExposer
,org.codehaus.plexus.logging.LogEnabled
public class RepositorySearchExposer
extends org.codehaus.plexus.logging.AbstractLogEnabled
implements JarIdentificationExposer
Exposer that examines a Maven repository for identical files to the JAR being analyzed. It will look for both
identical files, and files with identical classes.
Note: if not using Plexus, you must call the following methods to be able to expose any data from the class:
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
expose
(JarIdentification identification, JarAnalyzer jarAnalyzer) Expose metadata during the identification process.void
setBytecodeHashAnalyzer
(JarHashAnalyzer bytecodeHashAnalyzer) void
setFileHashAnalyzer
(JarHashAnalyzer fileHashAnalyzer) void
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Constructor Details
-
RepositorySearchExposer
public RepositorySearchExposer()
-
-
Method Details