|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jsieve.TestList
public class TestList
A parsed representation of an RFC3028 testlist argument...
test-list = "(" test *("," test) ")"
| Constructor Summary | |
|---|---|
TestList(java.util.List<Test> children)
Constructor for TestList. |
|
TestList(Test child)
Constructor for TestList. |
|
| Method Summary | |
|---|---|
boolean |
allTestsPass(MailAdapter mail,
SieveContext context)
Do all tests pass for the given mail? |
boolean |
anyTestsPass(MailAdapter mail,
SieveContext context)
Do any tests pass for the given mail? |
java.lang.Object |
execute(MailAdapter mail,
SieveContext context)
|
java.util.List<Test> |
getTests()
Returns the children. |
boolean |
isEmpty()
Is this test list empty? |
protected void |
setTests(java.util.List<Test> children)
Sets the children. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TestList(java.util.List<Test> children)
children - -
A List of Testspublic TestList(Test child)
child - -
A Test| Method Detail |
|---|
public java.lang.Object execute(MailAdapter mail,
SieveContext context)
throws SieveException
execute in interface ExecutableSieveExceptionExecutable.execute(MailAdapter, SieveContext)
public boolean allTestsPass(MailAdapter mail,
SieveContext context)
throws SieveException
mail - not nullcontext - not null
SieveException
public boolean anyTestsPass(MailAdapter mail,
SieveContext context)
throws SieveException
mail - not nullcontext - not null
SieveExceptionpublic java.util.List<Test> getTests()
protected void setTests(java.util.List<Test> children)
children - The children to setpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean isEmpty()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||