org.apache.cocoon.mail.command
Class MailCommands

java.lang.Object
  extended byorg.apache.cocoon.util.AbstractLogEnabled
      extended byorg.apache.cocoon.mail.command.AbstractMailCommand
          extended byorg.apache.cocoon.mail.command.MailCommands
All Implemented Interfaces:
MailCommand

public class MailCommands
extends AbstractMailCommand

Execute a list of commands.

Since:
23 October 2002
Version:
$Id: MailCommands.html 1304280 2012-03-23 11:18:01Z ilgrosso $

Constructor Summary
MailCommands(List commands)
          Constructor for the MailCommands object
 
Method Summary
 void execute()
          Execute the list of commands
 
Methods inherited from class org.apache.cocoon.mail.command.AbstractMailCommand
addResult, addResults, getResults, iterator
 
Methods inherited from class org.apache.cocoon.util.AbstractLogEnabled
getLogger, setLogger
 
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-2008 The Apache Software Foundation. All Rights Reserved.