org.apache.jsieve.commands
Class Else

java.lang.Object
  extended by org.apache.jsieve.commands.AbstractCommand
      extended by org.apache.jsieve.commands.AbstractBodyCommand
          extended by org.apache.jsieve.commands.AbstractControlCommand
              extended by org.apache.jsieve.commands.AbstractConditionalCommand
                  extended by org.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
context - SieveContext giving contextual information, not null
Returns:
Object
Throws:
SieveException
See Also:



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