|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.dotnet.embedder.impl.MavenProjectImpl
public class MavenProjectImpl
Provides an implementation of the MavenProject.
Field Summary |
---|
Fields inherited from interface org.apache.maven.dotnet.embedder.MavenProject |
---|
ROLE |
Constructor Summary | |
---|---|
MavenProjectImpl()
Constructor. |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object o)
|
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getArtifactId()
Returns the artifact id of the maven project. |
java.lang.String |
getGroupId()
Returns the group id of the maven project. |
java.util.Set<MavenProject> |
getMavenProjects()
Returns a set of maven project children (typically the modules of a parent pom). |
org.apache.maven.model.Model |
getModel()
|
java.lang.String |
getPomPath()
Returns the path to the maven project's pom. |
java.lang.String |
getVersion()
Returns the version of the maven project. |
int |
hashCode()
|
boolean |
isOrphaned()
Returns true if both of the following conditions apply: 1) the project is not in the root directory AND 2) the project is not attached (as a module) to a pom that exists in the root directory, otherwise returns false. |
void |
setArtifactId(java.lang.String artifactId)
|
void |
setGroupId(java.lang.String groupId)
|
void |
setIsOrphaned(boolean isOrphaned)
|
void |
setMavenProjects(java.util.Set<MavenProject> mavenProjects)
|
void |
setModel(org.apache.maven.model.Model model)
|
void |
setPomPath(java.lang.String pomPath)
|
void |
setVersion(java.lang.String version)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MavenProjectImpl()
Method Detail |
---|
public java.util.Set<MavenProject> getMavenProjects()
MavenProject
getMavenProjects
in interface MavenProject
public org.apache.maven.model.Model getModel()
public void setModel(org.apache.maven.model.Model model)
public void setMavenProjects(java.util.Set<MavenProject> mavenProjects)
public java.lang.String getPomPath()
MavenProject
getPomPath
in interface MavenProject
public void setPomPath(java.lang.String pomPath)
public java.lang.String getGroupId()
MavenProject
getGroupId
in interface MavenProject
public void setGroupId(java.lang.String groupId)
public java.lang.String getArtifactId()
MavenProject
getArtifactId
in interface MavenProject
public void setArtifactId(java.lang.String artifactId)
public java.lang.String getVersion()
MavenProject
getVersion
in interface MavenProject
public void setVersion(java.lang.String version)
public boolean isOrphaned()
MavenProject
isOrphaned
in interface MavenProject
public void setIsOrphaned(boolean isOrphaned)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(java.lang.Object o) throws java.lang.ClassCastException
compareTo
in interface java.lang.Comparable
java.lang.ClassCastException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |