Class RoutingAppender.Builder<B extends RoutingAppender.Builder<B>>

All Implemented Interfaces:
Enclosing class:

public static class RoutingAppender.Builder<B extends RoutingAppender.Builder<B>> extends AbstractAppender.Builder<B> implements Builder<RoutingAppender>
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      public RoutingAppender build()
      Description copied from interface: Builder
      Builds the object after all configuration has been set. This will use default values for any unspecified attributes for the object.
      Specified by:
      build in interface Builder<B extends RoutingAppender.Builder<B>>
      the configured instance.
    • getRoutes

      public Routes getRoutes()
    • getDefaultRouteScript

      public AbstractScript getDefaultRouteScript()
    • getRewritePolicy

      public RewritePolicy getRewritePolicy()
    • getPurgePolicy

      public PurgePolicy getPurgePolicy()
    • withRoutes

      public B withRoutes(Routes routes)
    • withDefaultRouteScript

      public B withDefaultRouteScript(AbstractScript defaultRouteScript)
    • withRewritePolicy

      public B withRewritePolicy(RewritePolicy rewritePolicy)
    • withPurgePolicy

      public void withPurgePolicy(PurgePolicy purgePolicy)