public static class ReadmeHtmlVelocityDelegate.ReadmeHtmlVelocityDelegateBuilder extends Object
ReadmeHtmlVelocityDelegate
.Modifier and Type | Field and Description |
---|---|
private String |
artifactId
The maven artifactId to use in the
README.vm template. |
private String |
siteUrl
The site url to use in the
README.vm template. |
private String |
version
The maven version to use in the
README.vm template. |
Modifier | Constructor and Description |
---|---|
private |
ReadmeHtmlVelocityDelegateBuilder()
Private constructor for using the builder through the
ReadmeHtmlVelocityDelegate.builder()
method. |
Modifier and Type | Method and Description |
---|---|
ReadmeHtmlVelocityDelegate |
build()
Builds up the
ReadmeHtmlVelocityDelegate from the previously set parameters. |
ReadmeHtmlVelocityDelegate.ReadmeHtmlVelocityDelegateBuilder |
withArtifactId(String artifactId)
Adds the artifactId to the
ReadmeHtmlVelocityDelegate . |
ReadmeHtmlVelocityDelegate.ReadmeHtmlVelocityDelegateBuilder |
withSiteUrl(String siteUrl)
Adds the siteUrl to the
ReadmeHtmlVelocityDelegate . |
ReadmeHtmlVelocityDelegate.ReadmeHtmlVelocityDelegateBuilder |
withVersion(String version)
Adds the version to the
ReadmeHtmlVelocityDelegate . |
private String artifactId
README.vm
template.private String version
README.vm
template.private String siteUrl
README.vm
template.private ReadmeHtmlVelocityDelegateBuilder()
ReadmeHtmlVelocityDelegate.builder()
method.public ReadmeHtmlVelocityDelegate.ReadmeHtmlVelocityDelegateBuilder withArtifactId(String artifactId)
ReadmeHtmlVelocityDelegate
.artifactId
- the String
representing the maven artifactId.public ReadmeHtmlVelocityDelegate.ReadmeHtmlVelocityDelegateBuilder withVersion(String version)
ReadmeHtmlVelocityDelegate
.version
- the maven version.public ReadmeHtmlVelocityDelegate.ReadmeHtmlVelocityDelegateBuilder withSiteUrl(String siteUrl)
ReadmeHtmlVelocityDelegate
.siteUrl
- the site url to be used in the README.html
public ReadmeHtmlVelocityDelegate build()
ReadmeHtmlVelocityDelegate
from the previously set parameters.ReadmeHtmlVelocityDelegate
.Copyright © 2018–2022 The Apache Software Foundation. All rights reserved.