org.apache.jsieve
Class Commands

java.lang.Object
  extended byorg.apache.jsieve.Commands
All Implemented Interfaces:
Executable

public class Commands
extends java.lang.Object
implements Executable

A parsed representation of the RFC3028 BNF...

commands = *command


Constructor Summary
Commands(java.util.List commands)
          Constructor for Commands.
 
Method Summary
 java.lang.Object execute(MailAdapter mail)
           
 java.util.List getChildren()
          Returns the commands.
protected  void setChildren(java.util.List commands)
          Sets the commands.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Commands

public Commands(java.util.List commands)
Constructor for Commands.

Parameters:
commands -
Method Detail

getChildren

public java.util.List getChildren()
Returns the commands.

Returns:
List

setChildren

protected void setChildren(java.util.List commands)
Sets the commands.

Parameters:
commands - The commands to set

execute

public java.lang.Object execute(MailAdapter mail)
                         throws SieveException
Specified by:
execute in interface Executable
Throws:
SieveException
See Also:
Executable.execute(MailAdapter)

toString

public java.lang.String toString()


Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.