|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.torstennahm.integrate.StopConditions.MultiStopCondition
public static class StopConditions.MultiStopCondition
Checks whether any of a list of conditions has been fulfilled.
| Constructor Summary | |
|---|---|
StopConditions.MultiStopCondition(java.util.List<StopCondition> conditions)
Constructs the stop condition. |
|
| Method Summary | |
|---|---|
java.lang.String |
getConditionString()
Returns a string describing the fulfillment of the condition. |
StopCondition |
getStopper()
Returns which condition has caused the stop method to return
true. |
boolean |
stop(IntegrationResult result)
Returns true if the integration should be stopped because of this condition. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StopConditions.MultiStopCondition(java.util.List<StopCondition> conditions)
conditions - list of conditions| Method Detail |
|---|
public boolean stop(IntegrationResult result)
StopCondition
stop in interface StopConditionresult - integration result
public StopCondition getStopper()
stop method to return
true. If stop has not yet returned true,
null will be returned.
nullpublic java.lang.String getConditionString()
StopCondition
getConditionString in interface StopCondition
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||