org.apache.jsieve
Interface ExecutableCommand

All Known Implementing Classes:
AbstractCommand

public interface ExecutableCommand

Interface ExecutableCommand defines the method signatures for Sieve Commands.


Method Summary
 java.lang.Object execute(MailAdapter mail, Arguments arguments, Block block, SieveContext context)
          Method execute executes a Sieve Command.
 

Method Detail

execute

public java.lang.Object execute(MailAdapter mail,
                                Arguments arguments,
                                Block block,
                                SieveContext context)
                         throws SieveException
Method execute executes a Sieve Command.

Parameters:
mail - - The mail against which the Command is executed.
arguments - - The Command arguments
block - - An optional Block to be evaluated
context - SieveContext containing contextual information, not null
Returns:
Object - The result of evaluating the Command
Throws:
SieveException


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