|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.ci.config.test.MavenPomBuilder
public final class MavenPomBuilder
Builder for instances of MavenPom
.
Field Summary | |
---|---|
static String |
ARTIFACT_ID The default valid value for a group ID. |
static String |
DESCRIPTION The default valid value for a description. |
static String |
GROUP_ID The default valid value for an artifact ID. |
static String |
SCM_CONNECTION_STRING The default valid value for an SCM connection string. |
Method Summary | |
---|---|
static MavenPomBuilder |
a() Creates an instance of the builder. |
static MavenPomBuilder |
aNew() Creates an instance of the builder. |
MavenPom |
build() Creates an instance of MavenPom . |
MavenPomBuilder |
withArtifactId(String artifactId) Sets the project's artifact identifier. |
MavenPomBuilder |
withDescription(String description) Sets the project's description. |
MavenPomBuilder |
withGroupId(String groupId) Sets the project's group identifier. |
MavenPomBuilder |
withScmConnectionString(String scmConnectionString) Sets the SCM connection string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String GROUP_ID
"de.smartics.test"
public static final String ARTIFACT_ID
"smartics-test"
public static final String DESCRIPTION
"A test project description."
public static final String SCM_CONNECTION_STRING
"scm:svn:http://some/url"
Method Detail |
---|
public MavenPomBuilder withGroupId(String groupId)
scmConnectionString
- the project's group identifier.
public MavenPomBuilder withArtifactId(String artifactId)
artifactId
- the project's artifact identifier.
public MavenPomBuilder withDescription(String description)
description
- the project's description.
public MavenPomBuilder withScmConnectionString(String scmConnectionString)
scmConnectionString
- the SCM connection string.
public static MavenPomBuilder aNew()
public static MavenPomBuilder a()
public MavenPom build()
MavenPom
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |