java.lang.Object
org.apache.logging.log4j.core.appender.rolling.action.AbstractAction
org.apache.logging.log4j.core.appender.rolling.action.CompositeAction
All Implemented Interfaces:
Runnable, Action

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

    • CompositeAction

      public CompositeAction(List<Action> 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