|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jsieve.Test
public class Test
A parsed representation of an RFC3028 test argument...
test = identifier arguments
| Constructor Summary | |
|---|---|
Test(java.lang.String name,
Arguments arguments)
Constructor for Test. |
|
| Method Summary | |
|---|---|
java.lang.Object |
execute(MailAdapter mail,
SieveContext context)
|
Arguments |
getArguments()
Returns the arguments. |
java.lang.String |
getName()
Returns the name. |
boolean |
isTestPassed(MailAdapter mail,
SieveContext context)
Is this test passed for the given mail? |
protected void |
setArguments(Arguments arguments)
Sets the arguments. |
protected void |
setName(java.lang.String name)
Sets the name. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Test(java.lang.String name,
Arguments arguments)
name - arguments - | Method Detail |
|---|
public java.lang.Object execute(MailAdapter mail,
SieveContext context)
throws SieveException
execute in interface ExecutableSieveExceptionExecutable.execute(MailAdapter, SieveContext)
public boolean isTestPassed(MailAdapter mail,
SieveContext context)
throws LookupException,
SieveException
mail - not nullcontext - not null
LookupException
SieveExceptionpublic Arguments getArguments()
public java.lang.String getName()
protected void setArguments(Arguments arguments)
arguments - The arguments to setprotected void setName(java.lang.String name)
name - The name to setpublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||