|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.logging.log4j.core.appender.rolling.CompositeTriggeringPolicy
@Plugin(name="Policies",
category="Core",
printObject=true)
public final class CompositeTriggeringPolicyTriggering policy that wraps other policies.
| Method Summary | |
|---|---|
static CompositeTriggeringPolicy |
createPolicy(TriggeringPolicy... policies)
Create a CompositeTriggeringPolicy. |
void |
initialize(RollingFileManager manager)
Initializes the policy. |
boolean |
isTriggeringEvent(LogEvent event)
Determines if a rollover should occur. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public void initialize(RollingFileManager manager)
initialize in interface TriggeringPolicymanager - The RollingFileManager.public boolean isTriggeringEvent(LogEvent event)
isTriggeringEvent in interface TriggeringPolicyevent - A reference to the currently event.
public String toString()
toString in class Object
@PluginFactory
public static CompositeTriggeringPolicy createPolicy(@PluginElement(value="Policies")
TriggeringPolicy... policies)
policies - The triggering policies.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright © 1999-2014 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.