public abstract class TemplateNavigation extends Object implements Navigation
CACHE_SIZE_DEFAULT, CACHE_SIZE_KEY, NAME, PREFIX
Constructor and Description |
---|
TemplateNavigation() |
Modifier and Type | Method and Description |
---|---|
abstract String |
buildTemplate(PipelineData pipelineData)
This Builds the WebMacro/FreeMarker/etc template.
|
String |
doBuild(PipelineData pipelineData)
Calls doBuildTemplate() and then buildTemplate().
|
protected abstract void |
doBuildTemplate(PipelineData pipelineData)
WebMacro Navigations extending this class should override this
method to perform any particular business logic and add
information to the context.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
build
protected abstract void doBuildTemplate(PipelineData pipelineData) throws Exception
pipelineData
- Turbine information.Exception
- a generic exception.public abstract String buildTemplate(PipelineData pipelineData) throws Exception
pipelineData
- Turbine information.Exception
- a generic exception.public String doBuild(PipelineData pipelineData) throws Exception
doBuild
in interface Navigation
pipelineData
- Turbine information.Exception
- a generic exception.Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.