Class ReadmeHtmlVelocityDelegate.ReadmeHtmlVelocityDelegateBuilder
java.lang.Object
org.apache.commons.release.plugin.velocity.ReadmeHtmlVelocityDelegate.ReadmeHtmlVelocityDelegateBuilder
- Enclosing class:
ReadmeHtmlVelocityDelegate
public static final class ReadmeHtmlVelocityDelegate.ReadmeHtmlVelocityDelegateBuilder
extends Object
A builder class for instantiation of the
ReadmeHtmlVelocityDelegate.- Since:
- 1.3
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds up theReadmeHtmlVelocityDelegatefrom the previously set parameters.setArtifactId(String artifactId) Sets the Maven artifact ID for theReadmeHtmlVelocityDelegate.setSiteUrl(String siteUrl) Sets the site URL for theReadmeHtmlVelocityDelegate.setVersion(String version) Sets the version for theReadmeHtmlVelocityDelegate.
-
Method Details
-
build
Builds up theReadmeHtmlVelocityDelegatefrom the previously set parameters.- Returns:
- A new
ReadmeHtmlVelocityDelegate.
-
setArtifactId
public ReadmeHtmlVelocityDelegate.ReadmeHtmlVelocityDelegateBuilder setArtifactId(String artifactId) Sets the Maven artifact ID for theReadmeHtmlVelocityDelegate.- Parameters:
artifactId- TheStringrepresenting the Maven artifactId.- Returns:
- The builder to continue building.
-
setSiteUrl
Sets the site URL for theReadmeHtmlVelocityDelegate.- Parameters:
siteUrl- The site URL to be used in theREADME.html- Returns:
- The builder to continue building.
-
setVersion
Sets the version for theReadmeHtmlVelocityDelegate.- Parameters:
version- The Maven version.- Returns:
- The builder to continue building.
-