Class JarIdentification
java.lang.Object
org.apache.maven.shared.jar.identification.JarIdentification
Gathered Maven information about the JAR file. Stores both assumed/validated values and potential values.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAndSetArtifactId
(String artifactId) Add a validated artifact ID.void
addAndSetGroupId
(String groupId) Add a validated group ID.void
addAndSetName
(String name) Add a validated artifact name.void
addAndSetVendor
(String name) Add a validated vendor name.void
addAndSetVersion
(String version) Add a validated version.void
addArtifactId
(String artifactId) Add a potential artifact ID.void
addGroupId
(String groupId) Add a potential group ID.void
Add a potential artifact name.void
Add a potential vendor name.void
addVersion
(String version) Add a potential version.getName()
void
setArtifactId
(String artifactId) void
setGroupId
(String groupId) void
void
void
setVersion
(String version)
-
Constructor Details
-
JarIdentification
public JarIdentification()
-
-
Method Details
-
addAndSetGroupId
Add a validated group ID.- Parameters:
groupId
- the group ID discovered
-
addGroupId
Add a potential group ID.- Parameters:
groupId
- the group ID discovered
-
addAndSetArtifactId
Add a validated artifact ID.- Parameters:
artifactId
- the artifact ID discovered
-
addArtifactId
Add a potential artifact ID.- Parameters:
artifactId
- the artifact ID discovered
-
addAndSetVersion
Add a validated version.- Parameters:
version
- the version discovered
-
addVersion
Add a potential version.- Parameters:
version
- the version discovered
-
addAndSetVendor
Add a validated vendor name.- Parameters:
name
- the vendor name discovered
-
addVendor
Add a potential vendor name.- Parameters:
name
- the vendor name discovered
-
addAndSetName
Add a validated artifact name.- Parameters:
name
- the artifact name discovered
-
addName
Add a potential artifact name.- Parameters:
name
- the artifact name discovered
-
getArtifactId
-
setArtifactId
-
getGroupId
-
setGroupId
-
getName
-
setName
-
getVendor
-
setVendor
-
getVersion
-
setVersion
-
getPotentialVersions
-
getPotentialNames
-
getPotentialGroupIds
-
getPotentialArtifactIds
-
getPotentialVendors
-