Class TemplateNavigation

    • Method Detail

      • doBuildTemplate

        protected abstract void doBuildTemplate​(PipelineData pipelineData)
                                         throws Exception
        WebMacro Navigations extending this class should override this method to perform any particular business logic and add information to the context.
        Parameters:
        pipelineData - Turbine information.
        Throws:
        Exception - a generic exception.
      • buildTemplate

        public abstract String buildTemplate​(PipelineData pipelineData)
                                      throws Exception
        This Builds the WebMacro/FreeMarker/etc template.
        Parameters:
        pipelineData - Turbine information.
        Returns:
        the content of the navigation module
        Throws:
        Exception - a generic exception.
      • doBuild

        public String doBuild​(PipelineData pipelineData)
                       throws Exception
        Calls doBuildTemplate() and then buildTemplate().
        Specified by:
        doBuild in interface Navigation
        Parameters:
        pipelineData - Turbine information.
        Returns:
        the content of the navigation module
        Throws:
        Exception - a generic exception.