Class ActionBase
java.lang.Object
org.apache.log4j.rolling.helper.ActionBase
- Direct Known Subclasses:
CompositeAction, FileRenameAction, GZCompressAction, ZipCompressAction
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanIs action complete.private booleanIs action interrupted. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
complete
private boolean completeIs action complete. -
interrupted
private boolean interruptedIs action interrupted.
-
-
Constructor Details
-
ActionBase
protected ActionBase()Constructor.
-
-
Method Details
-
execute
Perform action.- Specified by:
executein interfaceAction- Returns:
- true if successful.
- Throws:
IOException- if IO error.
-
run
-
close
-
isComplete
public boolean isComplete()Tests if the action is complete.- Specified by:
isCompletein interfaceAction- Returns:
- true if action is complete.
-
reportException
-