org.apache.jsieve.commands
Class Else

java.lang.Object
  extended byorg.apache.jsieve.commands.AbstractCommand
      extended byorg.apache.jsieve.commands.AbstractBodyCommand
          extended byorg.apache.jsieve.commands.AbstractControlCommand
              extended byorg.apache.jsieve.commands.AbstractConditionalCommand
                  extended byorg.apache.jsieve.commands.Else
All Implemented Interfaces:
ExecutableCommand

public class Else
extends AbstractConditionalCommand

Class Else implements the Else Command as defined in RFC 3028, section 3.1.


Constructor Summary
Else()
          Constructor for Else.
 
Method Summary
protected  java.lang.Object executeBasic(MailAdapter mail, Arguments arguments, Block block, SieveContext context)
           Conditionally eexecute a Block if an Else Condition is runnable.
 
Methods inherited from class org.apache.jsieve.commands.AbstractConditionalCommand
execute, validateBlock
 
Methods inherited from class org.apache.jsieve.commands.AbstractBodyCommand
updateState
 
Methods inherited from class org.apache.jsieve.commands.AbstractCommand
execute, validateArguments, validateState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Else

public Else()
Constructor for Else.

Method Detail

executeBasic

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

Conditionally eexecute a Block if an Else Condition is runnable.

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.