org.apache.jsieve
Interface ExecutableCommand
- All Known Implementing Classes:
- AbstractCommand
- public interface ExecutableCommand
Interface ExecutableCommand defines the method signatures for Sieve Commands.
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 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-2008 The Apache Software Foundation. All Rights Reserved.