org.apache.jsieve.commands
Class Keep

java.lang.Object
  extended by org.apache.jsieve.commands.AbstractCommand
      extended by org.apache.jsieve.commands.AbstractBodyCommand
          extended by org.apache.jsieve.commands.AbstractActionCommand
              extended by org.apache.jsieve.commands.Keep
All Implemented Interfaces:
ExecutableCommand

public class Keep
extends AbstractActionCommand

Class Keep implements the Keep Command as defined in RFC 3028, section 4.4.


Constructor Summary
Keep()
          Constructor for Keep.
 
Method Summary
protected  java.lang.Object executeBasic(MailAdapter mail, Arguments arguments, Block block, SieveContext context)
           Add an ActionKeep to the List of Actions to be performed.
 
Methods inherited from class org.apache.jsieve.commands.AbstractActionCommand
updateState, validateSingleStringArguments, validateState
 
Methods inherited from class org.apache.jsieve.commands.AbstractCommand
execute, validateArguments, validateBlock
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Keep

public Keep()
Constructor for Keep.

Method Detail

executeBasic

protected java.lang.Object executeBasic(MailAdapter mail,
                                        Arguments arguments,
                                        Block block,
                                        SieveContext context)
                                 throws SieveException

Add an ActionKeep to the List of Actions to be performed.

Also,

Specified by:
executeBasic in class AbstractCommand
context - SieveContext giving contextual information, not null
Returns:
Object
Throws:
SieveException
See Also:



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