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

All Implemented Interfaces:
Builder<RoutingAppender>
Enclosing class:
RoutingAppender

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>>
      Returns:
      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)