org.apache.logging.log4j.core.appender.routing
Class Routes

java.lang.Object
  extended by org.apache.logging.log4j.core.appender.routing.Routes

public final class Routes
extends Object

Used to contain the individual Route elements.


Method Summary
static Routes createRoutes(String pattern, Route[] routes)
          Create the Routes.
 String getPattern()
          Return the pattern.
 Route[] getRoutes()
          Return the array of Route elements.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getPattern

public String getPattern()
Return the pattern.

Returns:
the pattern.

getRoutes

public Route[] getRoutes()
Return the array of Route elements.

Returns:
an array of Route elements.

toString

public String toString()
Overrides:
toString in class Object

createRoutes

public static Routes createRoutes(String pattern,
                                  Route[] routes)
Create the Routes.

Parameters:
pattern - The pattern.
routes - An array of Route elements.
Returns:
The Routes container.


Copyright © 1999-2012 Apache Software Foundation. All Rights Reserved.