|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.ci.config.maven.MavenPom
public final class MavenPom
Provides access to information of a Maven POM.
Constructor Summary | |
---|---|
MavenPom() Default constructor. |
Method Summary | |
---|---|
String |
getArtifactId() Returns the project's artifact identifier. |
String |
getDescription() Returns the project's description. |
String |
getGroupId() Returns the project's group identifier. |
ScmType |
getScmType() Returns the type of the SCM. |
String |
getScmUrl() Returns the URL to the SCM server of the given type . |
boolean |
isScmInfoProvided() Checks if SCM information is provided. |
void |
setArtifactId(String artifactId) Sets the project's artifact identifier. |
void |
setDescription(String description) Sets the project's description. |
void |
setGroupId(String groupId) Sets the project's group identifier. |
void |
setScmConnectionString(String connectionString) Sets the SCM information to the Maven POM. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MavenPom()
Method Detail |
---|
public String getGroupId()
public void setGroupId(String groupId)
groupId
- the project's group identifier.
public String getArtifactId()
public void setArtifactId(String artifactId)
artifactId
- the project's artifact identifier.
public String getDescription()
public void setDescription(String description)
description
- the project's description.
public ScmType getScmType()
public String getScmUrl()
type
.
type
.
public boolean isScmInfoProvided()
true
if SCM info is provided,
false
if not.
public void setScmConnectionString(String connectionString) throws de.smartics.util.lang.BlankArgumentException, IllegalArgumentException
connectionString
- the connection string of format
scm:SCM_TYPE:SCM_URL
.
de.smartics.util.lang.BlankArgumentException
- if
connectionString
is
null
.
IllegalArgumentException
- if the
connectionString
does not meet the expected format
scm:SCM_TYPE:SCM_URL
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |