|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jsieve.commands.AbstractCommand org.apache.jsieve.commands.AbstractBodyCommand org.apache.jsieve.commands.AbstractActionCommand org.apache.jsieve.commands.Redirect
public class Redirect
Class Redirect implements the Redirect Command as defined in RFC 3028, section 4.3.
Constructor Summary | |
---|---|
Redirect()
Constructor for Redirect. |
Method Summary | |
---|---|
protected java.lang.Object |
executeBasic(MailAdapter mail,
Arguments arguments,
Block block,
SieveContext context)
Add an ActionRedirect to the List of Actions to be performed passing the sole StringList argument as the recipient. |
protected void |
validateArguments(Arguments arguments,
SieveContext context)
Framework method validateArguments is invoked before a Sieve Command is executed to validate its arguments. |
Methods inherited from class org.apache.jsieve.commands.AbstractActionCommand |
---|
updateState, validateSingleStringArguments, validateState |
Methods inherited from class org.apache.jsieve.commands.AbstractCommand |
---|
execute, validateBlock |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Redirect()
Method Detail |
---|
protected java.lang.Object executeBasic(MailAdapter mail, Arguments arguments, Block block, SieveContext context) throws SieveException
Add an ActionRedirect to the List of Actions to be performed passing the sole StringList argument as the recipient.
Also,
executeBasic
in class AbstractCommand
context
- SieveContext
giving contextual information, not
null
SieveException
protected void validateArguments(Arguments arguments, SieveContext context) throws SieveException
AbstractCommand
validateArguments
in class AbstractCommand
context
- SieveContext
giving contextual information, not
null
SieveException
AbstractCommand.validateArguments(Arguments,
SieveContext)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |