|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.shared.jar.identification.JarIdentification
public class JarIdentification
Gathered Maven information about the JAR file. Stores both assumed/validated values and potential values.
JarIdentificationAnalysis.analyze(org.apache.maven.shared.jar.JarAnalyzer)
Field Summary | |
---|---|
private java.lang.String |
artifactId
The artifact ID derived or guessed from the list of potentials of the JAR. |
private java.lang.String |
groupId
The group ID derived or guessed from the list of potentials of the JAR. |
private java.lang.String |
name
The project name derived or guessed from the list of potentials of the JAR. |
private java.util.List |
potentialArtifactIds
The list of possible artifact IDs discovered. |
private java.util.List |
potentialGroupIds
The list of possible group IDs discovered. |
private java.util.List |
potentialNames
The list of possible artifact names discovered. |
private java.util.List |
potentialVendors
The list of possible vendors discovered. |
private java.util.List |
potentialVersions
The list of possible versions discovered. |
private java.lang.String |
vendor
The vendor (organization name) derived or guessed from the list of potentials of the JAR. |
private java.lang.String |
version
The version derived or guessed from the list of potentials of the JAR. |
Constructor Summary | |
---|---|
JarIdentification()
|
Method Summary | |
---|---|
void |
addAndSetArtifactId(java.lang.String artifactId)
Add a validated artifact ID. |
void |
addAndSetGroupId(java.lang.String groupId)
Add a validated group ID. |
void |
addAndSetName(java.lang.String name)
Add a validated artifact name. |
void |
addAndSetVendor(java.lang.String name)
Add a validated vendor name. |
void |
addAndSetVersion(java.lang.String version)
Add a validated version. |
void |
addArtifactId(java.lang.String artifactId)
Add a potential artifact ID. |
void |
addGroupId(java.lang.String groupId)
Add a potential group ID. |
void |
addName(java.lang.String name)
Add a potential artifact name. |
private static void |
addUnique(java.util.List list,
java.lang.String value)
|
void |
addVendor(java.lang.String name)
Add a potential vendor name. |
void |
addVersion(java.lang.String version)
Add a potential version. |
java.lang.String |
getArtifactId()
|
java.lang.String |
getGroupId()
|
java.lang.String |
getName()
|
java.util.List |
getPotentialArtifactIds()
|
java.util.List |
getPotentialGroupIds()
|
java.util.List |
getPotentialNames()
|
java.util.List |
getPotentialVendors()
|
java.util.List |
getPotentialVersions()
|
java.lang.String |
getVendor()
|
java.lang.String |
getVersion()
|
void |
setArtifactId(java.lang.String artifactId)
|
void |
setGroupId(java.lang.String groupId)
|
void |
setName(java.lang.String name)
|
void |
setVendor(java.lang.String vendor)
|
void |
setVersion(java.lang.String version)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.lang.String groupId
private java.lang.String artifactId
private java.lang.String version
private java.lang.String name
private java.lang.String vendor
private java.util.List potentialGroupIds
private java.util.List potentialArtifactIds
private java.util.List potentialVersions
private java.util.List potentialNames
private java.util.List potentialVendors
Constructor Detail |
---|
public JarIdentification()
Method Detail |
---|
public void addAndSetGroupId(java.lang.String groupId)
groupId
- the group ID discoveredpublic void addGroupId(java.lang.String groupId)
groupId
- the group ID discoveredpublic void addAndSetArtifactId(java.lang.String artifactId)
artifactId
- the artifact ID discoveredpublic void addArtifactId(java.lang.String artifactId)
artifactId
- the artifact ID discoveredpublic void addAndSetVersion(java.lang.String version)
version
- the version discoveredpublic void addVersion(java.lang.String version)
version
- the version discoveredpublic void addAndSetVendor(java.lang.String name)
name
- the vendor name discoveredpublic void addVendor(java.lang.String name)
name
- the vendor name discoveredpublic void addAndSetName(java.lang.String name)
name
- the artifact name discoveredpublic void addName(java.lang.String name)
name
- the artifact name discoveredprivate static void addUnique(java.util.List list, java.lang.String value)
public java.lang.String getArtifactId()
public void setArtifactId(java.lang.String artifactId)
public java.lang.String getGroupId()
public void setGroupId(java.lang.String groupId)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getVendor()
public void setVendor(java.lang.String vendor)
public java.lang.String getVersion()
public void setVersion(java.lang.String version)
public java.util.List getPotentialVersions()
public java.util.List getPotentialNames()
public java.util.List getPotentialGroupIds()
public java.util.List getPotentialArtifactIds()
public java.util.List getPotentialVendors()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |