Class PostProcessor

  • All Implemented Interfaces:
    IPostProcessor

    public final class PostProcessor
    extends 
    implements IPostProcessor

    Basic implementation of IPostProcessor.

    This implementation will suffice for most of the scenarios in which specifying a post-processor at a dialect is needed.

    Since:
    3.0.0
    Author:
    Daniel Fernández
    • Method Detail

      • getTemplateMode

        public final TemplateMode getTemplateMode()
        Description copied from interface: IPostProcessor

        Returns the template mode this post-processor should be executed for. A post-processor can only be linked to a specific template mode.

        Specified by:
        getTemplateMode in interface IPostProcessor
        Returns:
        the template mode.
      • getPrecedence

        public final int getPrecedence()
        Description copied from interface: IPostProcessor

        Returns the precedence that should be applied to this post-processor. This will determine the order in which it will be executed in relation to any other post-processors (note that the dialect precedence determined by IPostProcessorDialect.getDialectPostProcessorPrecedence() will be applied first).

        Specified by:
        getPrecedence in interface IPostProcessor
        Returns:
        the post-processor precedence.