org.apache.jsieve.tests
Interface ExecutableTest

All Known Implementing Classes:
AbstractCompatatorTest, AbstractTest, Address, AllOf, AnyOf, Body, Envelope, Exists, False, Header, Not, Size, True

public interface ExecutableTest

Interface ExecutableTest defines the method signatures for a Sieve Test.


Method Summary
 boolean execute(MailAdapter mail, Arguments arguments, SieveContext context)
          Method execute executes a Test and answers a boolean indicating if the test was passed.
 

Method Detail

execute

boolean execute(MailAdapter mail,
                Arguments arguments,
                SieveContext context)
                throws SieveException
Method execute executes a Test and answers a boolean indicating if the test was passed.

Parameters:
mail -
arguments -
context - SieveContext giving contextual information, not null
Returns:
boolean
Throws:
SieveException


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