|
||||||||||
| 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
public class 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,
SieveContext context)
Method validateCommand. |
protected void |
validateFeature(java.lang.String name,
MailAdapter mail,
SieveContext context)
Method validateFeature validates the required feature is configured as either a Command or a Test. |
protected void |
validateTest(java.lang.String name,
SieveContext context)
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 AbstractCommandcontext - SieveContext giving contextual information, not
null
SieveException
protected void validateFeature(java.lang.String name,
MailAdapter mail,
SieveContext context)
throws FeatureException
name - mail - context - not nul
FeatureException
protected void validateCommand(java.lang.String name,
SieveContext context)
throws LookupException
name -
LookupException
protected void validateTest(java.lang.String name,
SieveContext context)
throws LookupException
name - not nullcontext - not null
LookupException
protected void validateArguments(Arguments arguments,
SieveContext context)
throws SieveException
AbstractCommand
validateArguments in class AbstractCommandcontext - SieveContext giving contextual information, not
null
SieveExceptionAbstractCommand.validateArguments(Arguments,
SieveContext)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||