org.apache.cocoon.mail.command
Class MailCommands

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.cocoon.mail.command.AbstractMailCommand
          extended by org.apache.cocoon.mail.command.MailCommands
All Implemented Interfaces:
LogEnabled, MailCommand

public class MailCommands
extends AbstractMailCommand

Execute a list of commands.

Since:
23 October 2002
Version:
$Id: MailCommands.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Bernhard Huber

Constructor Summary
MailCommands(List commands)
          Constructor for the MailCommands object
 
Method Summary
 void execute()
          Execute the list of commands Gather all results of all commands.
 
Methods inherited from class org.apache.cocoon.mail.command.AbstractMailCommand
addResult, addResults, getResults, iterator
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailCommands

public MailCommands(List commands)
Constructor for the MailCommands object

Parameters:
commands - a list of AbstractMailCommand entries
Method Detail

execute

public void execute()
             throws MessagingException
Execute the list of commands

Gather all results of all commands.

Specified by:
execute in interface MailCommand
Specified by:
execute in class AbstractMailCommand
Throws:
MessagingException - Description of the Exception


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.