public class Plan.SyncResultListener extends Object implements IResultListener, IExternalCondition
| Constructor and Description |
|---|
Plan.SyncResultListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Add a property change listener.
|
void |
exceptionOccurred(Exception exception)
Called when an exception occurred.
|
boolean |
isTrue()
Test if the condition holds.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Remove a property change listener.
|
void |
resultAvailable(Object result)
Called when the result is available.
|
Object |
waitForResult()
Wait for the result.
|
Object |
waitForResult(long timeout)
Wait for the result.
|
public void resultAvailable(Object result)
resultAvailable in interface IResultListenerresult - The result.public void exceptionOccurred(Exception exception)
exceptionOccurred in interface IResultListenerexception - The exception.public Object waitForResult()
public Object waitForResult(long timeout)
timeout - The timeout.TimeoutException - when result is not available in specified time frame.public boolean isTrue()
isTrue in interface IExternalConditionpublic void addPropertyChangeListener(PropertyChangeListener listener)
addPropertyChangeListener in interface IExternalConditionpublic void removePropertyChangeListener(PropertyChangeListener listener)
removePropertyChangeListener in interface IExternalConditionCopyright © 2012. All Rights Reserved.