org.apache.jsieve.tests
Interface ExecutableTest

All Known Implementing Classes:
AbstractTest

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

public 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 © 2004-2008 The Apache Software Foundation. All Rights Reserved.