|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jsieve.ConditionManager
public class ConditionManager
Thread singleton class ConditionManager manages Conditional Commands during a Sieve evaluation.
| Constructor Summary | |
|---|---|
ConditionManager()
Constructor for ConditionManager. |
|
| Method Summary | |
|---|---|
protected void |
initialize()
Initialize the receiver. |
boolean |
isElseAllowed()
Method isElseAllowed answers a boolean indicating if an Else Command is allowed. |
boolean |
isElseRunnable()
Method isElseRunnable answers a boolean indicating if an Else Command is runnable based upon the current evaluation state. |
boolean |
isElsifAllowed()
Method isElsifAllowed answers a boolean indicating if an Elsif Command is allowed. |
boolean |
isElsifRunnable()
Method isElsifRunnable answers a boolean indicating if an Elsif Command is runnable based upon the current evaluation state. |
boolean |
isIfAllowed()
Method isIfAllowed answers a boolean indicating if an If Command is allowed. |
boolean |
isIfRunnable()
Method isIfRunnable answers a boolean indicating if an If Command is runnable based upon the current evaluation state. |
protected boolean |
isTestResult()
Returns the testResult. |
protected void |
setElseAllowed(boolean elseAllowed)
Sets the elseAllowed. |
void |
setElseTestResult(boolean result)
Method setElseTestResult disables a following Else Command and records the test result. |
void |
setElsifTestResult(boolean result)
Method setElsifTestResult enables a following Else Command and records the test result. |
void |
setIfTestResult(boolean result)
Method setIfTestResult enables a following Else Command and records the test result. |
protected void |
setTestResult(boolean testResult)
Sets the testResult. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConditionManager()
| Method Detail |
|---|
protected void initialize()
public void setIfTestResult(boolean result)
result - public void setElsifTestResult(boolean result)
result - public void setElseTestResult(boolean result)
result - public boolean isIfAllowed()
public boolean isElsifAllowed()
public boolean isElseAllowed()
public boolean isIfRunnable()
public boolean isElsifRunnable()
public boolean isElseRunnable()
protected boolean isTestResult()
protected void setElseAllowed(boolean elseAllowed)
elseAllowed - The elseAllowed to setprotected void setTestResult(boolean testResult)
testResult - The testResult to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||