|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.shared.runtime.MavenProjectProperties
public class MavenProjectProperties
Encapsulates the unique identifier for a Maven project.
More specifically, this object holds a project's group id, artifact id and version. This information is typically
generated by Maven and stored within the file
META-INF/maven/<groupId>/<artifactId>/pom.properties in the packaged project.
| Constructor Summary | |
|---|---|
MavenProjectProperties(java.lang.String groupId,
java.lang.String artifactId,
java.lang.String version)
Creates a new MavenProjectProperties with the specified Maven project group id, artifact id and version
properties. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object object)
|
java.lang.String |
getArtifactId()
Gets the artifact id for these Maven project properties. |
java.lang.String |
getGroupId()
Gets the group id for these Maven project properties. |
java.lang.String |
getVersion()
Gets the version for these Maven project properties. |
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MavenProjectProperties(java.lang.String groupId,
java.lang.String artifactId,
java.lang.String version)
MavenProjectProperties with the specified Maven project group id, artifact id and version
properties.
groupId - the group id, not nullartifactId - the artifact id, not nullversion - the version, not null| Method Detail |
|---|
public java.lang.String getGroupId()
public java.lang.String getArtifactId()
public java.lang.String getVersion()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||