org.apache.jsieve
Class TestList

java.lang.Object
  extended by org.apache.jsieve.TestList
All Implemented Interfaces:
Executable

public class TestList
extends java.lang.Object
implements Executable

A parsed representation of an RFC3028 testlist argument...

test-list = "(" test *("," test) ")"


Constructor Summary
TestList(java.util.List children)
          Constructor for TestList.
TestList(Test child)
          Constructor for TestList.
 
Method Summary
 java.lang.Object execute(MailAdapter mail, SieveContext context)
           
 java.util.List getTests()
          Returns the children.
protected  void setTests(java.util.List 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

TestList

public TestList(java.util.List children)
Constructor for TestList.

Parameters:
children - - A List of Tests

TestList

public TestList(Test child)
Constructor for TestList.

Parameters:
child - - A Test
Method Detail

execute

public java.lang.Object execute(MailAdapter mail,
                                SieveContext context)
                         throws SieveException
Specified by:
execute in interface Executable
Throws:
SieveException
See Also:
Executable.execute(MailAdapter, SieveContext)

getTests

public java.util.List getTests()
Returns the children.

Returns:
List

setTests

protected void setTests(java.util.List children)
Sets the children.

Parameters:
children - The children to set

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


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