Class VelocityNavigation

    • Method Detail

      • doBuildTemplate

        protected void doBuildTemplate​(PipelineData pipelineData,
                                       org.apache.velocity.context.Context context)
                                throws Exception
        Velocity Navigations extending this class should override this method to perform any particular business logic and add information to the context.
        Parameters:
        pipelineData - Turbine information.
        context - Context for web pages.
        Throws:
        Exception - a generic exception.
      • doBuildTemplate

        protected void doBuildTemplate​(PipelineData pipelineData)
                                throws Exception
        Needs to be implemented to make TemplateNavigation like us. The actual method that you should override is the one with the context in the parameter list.
        Specified by:
        doBuildTemplate in class TemplateNavigation
        Parameters:
        pipelineData - Turbine information.
        Throws:
        Exception - a generic exception.