Class ReadmeHtmlVelocityDelegate.ReadmeHtmlVelocityDelegateBuilder
java.lang.Object
org.apache.commons.release.plugin.velocity.ReadmeHtmlVelocityDelegate.ReadmeHtmlVelocityDelegateBuilder
- Enclosing class:
ReadmeHtmlVelocityDelegate
A builder class for instantiation of the
ReadmeHtmlVelocityDelegate
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds up theReadmeHtmlVelocityDelegate
from the previously set parameters.withArtifactId
(String artifactId) Adds the artifactId to theReadmeHtmlVelocityDelegate
.withSiteUrl
(String siteUrl) Adds the siteUrl to theReadmeHtmlVelocityDelegate
.withVersion
(String version) Adds the version to theReadmeHtmlVelocityDelegate
.
-
Method Details
-
build
Builds up theReadmeHtmlVelocityDelegate
from the previously set parameters.- Returns:
- a new
ReadmeHtmlVelocityDelegate
.
-
withArtifactId
public ReadmeHtmlVelocityDelegate.ReadmeHtmlVelocityDelegateBuilder withArtifactId(String artifactId) Adds the artifactId to theReadmeHtmlVelocityDelegate
.- Parameters:
artifactId
- theString
representing the maven artifactId.- Returns:
- the builder to continue building.
-
withSiteUrl
Adds the siteUrl to theReadmeHtmlVelocityDelegate
.- Parameters:
siteUrl
- the site url to be used in theREADME.html
- Returns:
- the builder to continue building.
-
withVersion
Adds the version to theReadmeHtmlVelocityDelegate
.- Parameters:
version
- the maven version.- Returns:
- the builder to continue building.
-