public class VelocityNavigation extends TemplateNavigation
CACHE_SIZE_DEFAULT, CACHE_SIZE_KEY, NAME, PREFIX
Constructor and Description |
---|
VelocityNavigation() |
Modifier and Type | Method and Description |
---|---|
String |
buildTemplate(PipelineData pipelineData)
This builds the Velocity template.
|
protected void |
doBuildTemplate(PipelineData pipelineData)
Needs to be implemented to make TemplateNavigation like us.
|
protected void |
doBuildTemplate(PipelineData pipelineData,
org.apache.velocity.context.Context context)
Velocity Navigations extending this class should override this
method to perform any particular business logic and add
information to the context.
|
doBuild
build, getPrefix
getRunData
public VelocityNavigation()
protected void doBuildTemplate(PipelineData pipelineData, org.apache.velocity.context.Context context) throws Exception
pipelineData
- Turbine information.context
- Context for web pages.Exception,
- a generic exception.Exception
protected void doBuildTemplate(PipelineData pipelineData) throws Exception
doBuildTemplate
in class TemplateNavigation
pipelineData
- Turbine information.Exception,
- a generic exception.Exception
- a generic exception.public String buildTemplate(PipelineData pipelineData) throws Exception
buildTemplate
in class TemplateNavigation
pipelineData
- Turbine information.Exception,
- a generic exception.Exception
- a generic exception.Copyright © 2000-2015 The Apache Software Foundation. All Rights Reserved.