org.apache.jsieve
Interface ExecutableCommand
- All Known Implementing Classes:
- AbstractActionCommand, AbstractBodyCommand, AbstractCommand, AbstractConditionalCommand, AbstractControlCommand, AbstractPrologCommand, Discard, Else, Elsif, FileInto, If, Keep, Log, Redirect, Reject, Require, Stop
public interface ExecutableCommand
Interface ExecutableCommand defines the method signatures for Sieve Commands.
execute
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 argumentsblock
- -
An optional Block to be evaluatedcontext
- SieveContext
containing contextual information,
not null
- Returns:
- Object - The result of evaluating the Command
- Throws:
SieveException
Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.