|
|||||||||||
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.AbstractPrologCommand
org.apache.jsieve.commands.Require
Class Require implements the Require Command as defined in RFC 3028, section 3.2.
Constructor Summary | |
Require()
Constructor for Require. |
Method Summary | |
protected java.lang.Object |
executeBasic(MailAdapter mail,
Arguments arguments,
Block block,
SieveContext context)
Ensure the required feature is configured. |
protected void |
validateArguments(Arguments arguments,
SieveContext context)
Framework method validateArguments is invoked before a Sieve Command is executed to validate its arguments. |
protected void |
validateCommand(java.lang.String name)
Method validateCommand. |
protected void |
validateFeature(java.lang.String name,
MailAdapter mail)
Method validateFeature validates the required feature is configured as either a Command or a Test. |
protected void |
validateTest(java.lang.String name)
Method validateTest. |
Methods inherited from class org.apache.jsieve.commands.AbstractPrologCommand |
validateState |
Methods inherited from class org.apache.jsieve.commands.AbstractCommand |
execute, updateState, validateBlock |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Require()
Method Detail |
protected java.lang.Object executeBasic(MailAdapter mail, Arguments arguments, Block block, SieveContext context) throws SieveException
Ensure the required feature is configured.
Also,
executeBasic
in class AbstractCommand
mail
- arguments
- block
- context
- SieveContext
giving contextual information,
not null
SieveException
protected void validateFeature(java.lang.String name, MailAdapter mail) throws FeatureException
name
- mail
-
FeatureException
protected void validateCommand(java.lang.String name) throws LookupException
name
-
LookupException
protected void validateTest(java.lang.String name) throws LookupException
name
-
LookupException
protected void validateArguments(Arguments arguments, SieveContext context) throws SieveException
AbstractCommand
validateArguments
in class AbstractCommand
arguments
- 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 |