|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.shared.jar.identification.JarIdentificationAnalysis
public class JarIdentificationAnalysis
Analyze the JAR file to identify Maven artifact metadata. This class is thread safe and immutable as long as all provided exposers are, as it retains no state.
If using Plexus, the class will use all available exposers in the container. If not using Plexus, the exposers must be set usingsetExposers(java.util.List)
before calling
analyze(org.apache.maven.shared.jar.JarAnalyzer)
Note that you must first create an instance of JarAnalyzer
- see its Javadoc for
a typical use.
Constructor Summary | |
---|---|
JarIdentificationAnalysis()
|
Method Summary | |
---|---|
JarIdentification |
analyze(JarAnalyzer jarAnalyzer)
Analyze a JAR and find any associated Maven metadata. |
void |
setExposers(java.util.List exposers)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JarIdentificationAnalysis()
Method Detail |
---|
public JarIdentification analyze(JarAnalyzer jarAnalyzer)
jarAnalyzer
- the JAR to analyze. This must not yet have been closed.
public void setExposers(java.util.List exposers)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |