| java.lang.Object org.netbeans.modules.visualweb.gravy.StatusWaitable
StatusWaitable | public class StatusWaitable implements Waitable(Code) | | This class is used for observation of status of some component.
|
StatusWaitable | public StatusWaitable(String[] variants)(Code) | | Creates an instance of this class.
Parameters: variants - an array of Strings, which could appear in an observable component. |
StatusWaitable | public StatusWaitable(String[] variants, boolean isExact)(Code) | | Creates an instance of this class.
Parameters: variants - an array of Strings, which could appear in an observable component. Parameters: isExact - a boolean value, which defines a mode of String comparison: true means using of the method equals(), false means using of the method indexOf(). |
StatusWaitable | public StatusWaitable(String variant1, String variant2)(Code) | | Creates an instance of this class.
Parameters: variant1 - a string, which could appear in an observable component. Parameters: variant2 - a string, which could appear in an observable component. |
StatusWaitable | public StatusWaitable(String variant1, String variant2, String variant3)(Code) | | Creates an instance of this class.
Parameters: variant1 - a string, which could appear in an observable component. Parameters: variant2 - a string, which could appear in an observable component. Parameters: variant3 - a string, which could appear in an observable component. |
actionProduced | public Object actionProduced(Object o)(Code) | | Checks if wait criteria have been met.
Parameters: o - optional waiting parameter. null if criteria has not been met. |
getDescription | public String getDescription()(Code) | | Returns description.
a text description of the wait criteria. |
getStatus | public String getStatus()(Code) | | Returns current status of an observable component.
a text corresponding to current status. |
|
|