Class CompositeAction

java.lang.Object
org.apache.log4j.rolling.helper.ActionBase
org.apache.log4j.rolling.helper.CompositeAction
All Implemented Interfaces:
Runnable, Action

public class CompositeAction extends ActionBase
A group of Actions to be executed in sequence.
  • Field Details

    • actions

      private final Action[] actions
      Actions to perform.
    • stopOnError

      private final boolean stopOnError
      Stop on error.
  • Constructor Details

    • CompositeAction

      public CompositeAction(List actions, boolean stopOnError)
      Construct a new composite action.
      Parameters:
      actions - list of actions, may not be null.
      stopOnError - if true, stop on the first false return value or exception.
  • Method Details