|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jsieve.Command
public class Command
A parsed representation of the RFC3028 BNF...
command = identifier arguments ( ";" / block )
| Constructor Summary | |
|---|---|
Command(java.lang.String name,
Arguments arguments,
Block block,
ScriptCoordinate coordinate)
Constructor for Command. |
|
| Method Summary | |
|---|---|
java.lang.Object |
execute(MailAdapter mail,
SieveContext context)
|
Arguments |
getArguments()
Returns the arguments. |
Block |
getBlock()
Returns the block. |
java.lang.String |
getName()
Returns the name. |
protected void |
setArguments(Arguments arguments)
Sets the arguments. |
protected void |
setBlock(Block block)
Sets the block. |
protected void |
setName(java.lang.String name)
Sets the name. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Command(java.lang.String name,
Arguments arguments,
Block block,
ScriptCoordinate coordinate)
name - arguments - block - | Method Detail |
|---|
public java.lang.String getName()
protected void setName(java.lang.String name)
name - The name to setpublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public Arguments getArguments()
public Block getBlock()
protected void setArguments(Arguments arguments)
arguments - The arguments to setprotected void setBlock(Block block)
block - The block to set
public java.lang.Object execute(MailAdapter mail,
SieveContext context)
throws SieveException
execute in interface ExecutableSieveExceptionExecutable.execute(MailAdapter, SieveContext)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||