Class HeaderHtmlVelocityDelegate
- java.lang.Object
-
- org.apache.commons.release.plugin.velocity.HeaderHtmlVelocityDelegate
-
public class HeaderHtmlVelocityDelegate extends Object
This class' purpose is to generate theHEADER.html
that moves along with the release for the sake of downloading the release from the distribution area.- Since:
- 1.3
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HeaderHtmlVelocityDelegate.HeaderHtmlVelocityDelegateBuilder
A builder class for instantiation of theHeaderHtmlVelocityDelegate
.
-
Constructor Summary
Constructors Modifier Constructor Description private
HeaderHtmlVelocityDelegate()
The private constructor to be used by theHeaderHtmlVelocityDelegate.HeaderHtmlVelocityDelegateBuilder
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HeaderHtmlVelocityDelegate.HeaderHtmlVelocityDelegateBuilder
builder()
For instantiating ourHeaderHtmlVelocityDelegate
using theHeaderHtmlVelocityDelegate.HeaderHtmlVelocityDelegateBuilder
.Writer
render(Writer writer)
Builds the HEADER.vm velocity template to the writer passed in.
-
-
-
Field Detail
-
TEMPLATE
private static final String TEMPLATE
The location of the velocity template for this class.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
HeaderHtmlVelocityDelegate
private HeaderHtmlVelocityDelegate()
The private constructor to be used by theHeaderHtmlVelocityDelegate.HeaderHtmlVelocityDelegateBuilder
.
-
-
Method Detail
-
builder
public static HeaderHtmlVelocityDelegate.HeaderHtmlVelocityDelegateBuilder builder()
For instantiating ourHeaderHtmlVelocityDelegate
using theHeaderHtmlVelocityDelegate.HeaderHtmlVelocityDelegateBuilder
.
-
-