|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jsieve.commands.AbstractCommand
org.apache.jsieve.commands.AbstractBodyCommand
org.apache.jsieve.commands.AbstractActionCommand
public abstract class AbstractActionCommand
Abstract class AbstractActionCommand defines the common state validation and state update behavior for Action Commands as per RFC 3028, section 8.
Constructor Summary | |
---|---|
AbstractActionCommand()
Constructor for AbstractActionCommand. |
Method Summary | |
---|---|
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 |
validateSingleStringArguments(Arguments arguments,
SieveContext context)
This is an utility method for subclasses |
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.AbstractCommand |
---|
execute, executeBasic, validateArguments, validateBlock |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractActionCommand()
Method Detail |
---|
protected void updateState(SieveContext context)
Method updateState() updates the CommandStateManager to indicate an Action Command has been processed and to cancel implicit keep.
And also
updateState
in class AbstractBodyCommand
context
- not nullAbstractCommand.updateState(SieveContext)
protected void validateState(SieveContext context) throws CommandException
Method validateState() validates via the CommandStateManager that an Action Command is legal at this time.
Also,
validateState
in class AbstractCommand
context
- SieveContext
giving contextual information, not
null
CommandException
AbstractCommand.validateState(SieveContext)
protected void validateSingleStringArguments(Arguments arguments, SieveContext context) throws SieveException
SieveException
Redirect
,
FileInto
,
Reject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |