|
||||||||||
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.optional.Reject
public class Reject
Class Reject implements the Reject Command as defined in RFC 3028, section 4.1.
Constructor Summary | |
---|---|
Reject()
Constructor for Reject. |
Method Summary | |
---|---|
protected java.lang.Object |
executeBasic(MailAdapter mail,
Arguments arguments,
Block block,
SieveContext context)
Add an ActionReject to the List of Actions to be performed. |
protected void |
updateState(SieveContext context)
Method updateState() updates the CommandStateManager to indicate an Action Command has been processed and to cancel implicit keep. |
protected void |
validateArguments(Arguments arguments,
SieveContext context)
Framework method validateArguments is invoked before a Sieve Command is executed to validate its arguments. |
protected void |
validateState(SieveContext context)
Method validateState() validates via the CommandStateManager that an Action Command is legal at this time. |
Methods inherited from class org.apache.jsieve.commands.AbstractActionCommand |
---|
validateSingleStringArguments |
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 Reject()
Method Detail |
---|
protected java.lang.Object executeBasic(MailAdapter mail, Arguments arguments, Block block, SieveContext context) throws SieveException
Add an ActionReject to the List of Actions to be performed.
Also,
executeBasic
in class AbstractCommand
context
- SieveContext
giving contextual information, not
null
SieveException
protected void validateState(SieveContext context) throws CommandException
AbstractActionCommand
Method validateState() validates via the CommandStateManager that an Action Command is legal at this time.
Also,
validateState
in class AbstractActionCommand
context
- SieveContext
giving contextual information, not
null
CommandException
AbstractCommand.validateState(SieveContext)
protected void updateState(SieveContext context)
AbstractActionCommand
Method updateState() updates the CommandStateManager to indicate an Action Command has been processed and to cancel implicit keep.
And also
updateState
in class AbstractActionCommand
context
- TODOAbstractCommand.updateState(SieveContext)
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 |