org.apache.jsieve
Class Commands

java.lang.Object
  extended by org.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<Command> commands)
          Constructor for Commands.
 
Method Summary
 java.lang.Object execute(MailAdapter mail, SieveContext context)
           
 java.util.List<Command> getChildren()
          Returns the commands.
protected  void setChildren(java.util.List<Command> 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<Command> commands)
Constructor for Commands.

Parameters:
commands -
Method Detail

getChildren

public java.util.List<Command> getChildren()
Returns the commands.

Returns:
List

setChildren

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

Parameters:
commands - The commands to set

execute

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


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