org.apache.jsieve.commands
Class Keep

java.lang.Object
  extended byorg.apache.jsieve.commands.AbstractCommand
      extended byorg.apache.jsieve.commands.AbstractBodyCommand
          extended byorg.apache.jsieve.commands.AbstractActionCommand
              extended byorg.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
Parameters:
mail -
arguments -
block -
context - SieveContext giving contextual information, not null
Returns:
Object
Throws:
SieveException
See Also:



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