|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.log4j.rolling.helper.ActionBase
org.apache.log4j.rolling.helper.CompositeAction
public class CompositeAction
A group of Actions to be executed in sequence.
Constructor Summary | |
---|---|
CompositeAction(java.util.List actions,
boolean stopOnError)
Construct a new composite action. |
Method Summary | |
---|---|
boolean |
execute()
Execute sequence of actions. |
void |
run()
|
Methods inherited from class org.apache.log4j.rolling.helper.ActionBase |
---|
close, isComplete, reportException |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompositeAction(java.util.List actions, boolean stopOnError)
actions
- list of actions, may not be null.stopOnError
- if true, stop on the first false return value or exception.Method Detail |
---|
public void run()
run
in interface java.lang.Runnable
run
in class ActionBase
public boolean execute() throws java.io.IOException
execute
in interface Action
execute
in class ActionBase
java.io.IOException
- on IO error.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2010 The Apache Software Foundation. Licensed under the Apache License, Version 2.0
Apache Extras Companion for Apache log4j, Apache log4j and Apache are trademarks of the Apache Software Foundation.