Class ReadmeHtmlVelocityDelegate
java.lang.Object
org.apache.commons.release.plugin.velocity.ReadmeHtmlVelocityDelegate
Generates the
README.html file that accompanies the release in the distribution area.- Since:
- 1.3
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA builder class for instantiation of theReadmeHtmlVelocityDelegate. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final StringThis is supposed to represent the Maven artifactId.private static final Pattern".private final StringThe URL of the site that gets set into theREADME.html.private static final StringThe location of the Velocity template for this class.private final StringThis is supposed to represent the Maven version of the release. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateReadmeHtmlVelocityDelegate(String artifactId, String version, String siteUrl) The private constructor to be used by theReadmeHtmlVelocityDelegate.ReadmeHtmlVelocityDelegateBuilder. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Gets theReadmeHtmlVelocityDelegate.ReadmeHtmlVelocityDelegateBuilderfor constructing theReadmeHtmlVelocityDelegate.Renders theREADME.vmVelocity template with the variables constructed with theReadmeHtmlVelocityDelegate.ReadmeHtmlVelocityDelegateBuilder.
-
Field Details
-
END_DIGIT
-
TEMPLATE
-
artifactId
This is supposed to represent the Maven artifactId. -
version
-
siteUrl
-
-
Constructor Details
-
ReadmeHtmlVelocityDelegate
The private constructor to be used by theReadmeHtmlVelocityDelegate.ReadmeHtmlVelocityDelegateBuilder.- Parameters:
artifactId- sets theartifactId.version- sets theversion.siteUrl- sets thesiteUrl.
-
-
Method Details
-
builder
Gets theReadmeHtmlVelocityDelegate.ReadmeHtmlVelocityDelegateBuilderfor constructing theReadmeHtmlVelocityDelegate. -
render
Renders theREADME.vmVelocity template with the variables constructed with theReadmeHtmlVelocityDelegate.ReadmeHtmlVelocityDelegateBuilder.
-