Package com.smartgwt.client.util
Class SystemWaitConfig
java.lang.Object
com.smartgwt.client.core.JsObject
com.smartgwt.client.core.DataClass
com.smartgwt.client.util.SystemDoneConfig
com.smartgwt.client.util.SystemWaitConfig
- All Implemented Interfaces:
HasHandlers
- Direct Known Subclasses:
ElementWaitConfig
Configuration object for
AutoTest.waitForSystemDone()-
Field Summary
Fields inherited from class com.smartgwt.client.core.DataClass
factoryCreated, factoryProperties -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionShould the system wait for any outstanding FileLoader requests? to complete beforeAutoTest.isSystemDone()returns true?Should the system wait for any outstandingRPC Requeststo complete beforeAutoTest.isSystemDone()returns true?Should the system wait for any outstanding redraws to complete beforeAutoTest.isSystemDone()returns true?Should the system wait for all outstanding registered timer actions to complete beforeAutoTest.isSystemDone()returns true?static SystemWaitConfiggetOrCreateRef(JavaScriptObject jsObj) Timeout forAutoTest.waitForElement()in ms.setIncludeFileLoader(Boolean includeFileLoader) Should the system wait for any outstanding FileLoader requests? to complete beforeAutoTest.isSystemDone()returns true?setIncludeNetworkOperations(Boolean includeNetworkOperations) Should the system wait for any outstandingRPC Requeststo complete beforeAutoTest.isSystemDone()returns true?setIncludeRedraws(Boolean includeRedraws) Should the system wait for any outstanding redraws to complete beforeAutoTest.isSystemDone()returns true?setIncludeTimers(Boolean includeTimers) Should the system wait for all outstanding registered timer actions to complete beforeAutoTest.isSystemDone()returns true?setTimeout(Integer timeout) Timeout forAutoTest.waitForElement()in ms.Methods inherited from class com.smartgwt.client.core.DataClass
applyFactoryProperties, doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsElement, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, isFactoryCreated, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeAsJavaObject, setFactoryCreated
-
Constructor Details
-
SystemWaitConfig
public SystemWaitConfig() -
SystemWaitConfig
-
-
Method Details
-
getOrCreateRef
-
setIncludeFileLoader
Should the system wait for any outstanding FileLoader requests? to complete beforeAutoTest.isSystemDone()returns true?- Overrides:
setIncludeFileLoaderin classSystemDoneConfig- Parameters:
includeFileLoader- New includeFileLoader value. Default value is true- Returns:
SystemWaitConfiginstance, for chaining setter calls
-
getIncludeFileLoader
Should the system wait for any outstanding FileLoader requests? to complete beforeAutoTest.isSystemDone()returns true?- Overrides:
getIncludeFileLoaderin classSystemDoneConfig- Returns:
- Current includeFileLoader value. Default value is true
-
setIncludeNetworkOperations
Should the system wait for any outstandingRPC Requeststo complete beforeAutoTest.isSystemDone()returns true?If not explicitly set,
implicitNetworkWaitwill be consulted- Overrides:
setIncludeNetworkOperationsin classSystemDoneConfig- Parameters:
includeNetworkOperations- New includeNetworkOperations value. Default value is true- Returns:
SystemWaitConfiginstance, for chaining setter calls
-
getIncludeNetworkOperations
Should the system wait for any outstandingRPC Requeststo complete beforeAutoTest.isSystemDone()returns true?If not explicitly set,
implicitNetworkWaitwill be consulted- Overrides:
getIncludeNetworkOperationsin classSystemDoneConfig- Returns:
- Current includeNetworkOperations value. Default value is true
-
setIncludeRedraws
Should the system wait for any outstanding redraws to complete beforeAutoTest.isSystemDone()returns true?- Overrides:
setIncludeRedrawsin classSystemDoneConfig- Parameters:
includeRedraws- New includeRedraws value. Default value is true- Returns:
SystemWaitConfiginstance, for chaining setter calls
-
getIncludeRedraws
Should the system wait for any outstanding redraws to complete beforeAutoTest.isSystemDone()returns true?- Overrides:
getIncludeRedrawsin classSystemDoneConfig- Returns:
- Current includeRedraws value. Default value is true
-
setIncludeTimers
Should the system wait for all outstanding registered timer actions to complete beforeAutoTest.isSystemDone()returns true?- Overrides:
setIncludeTimersin classSystemDoneConfig- Parameters:
includeTimers- New includeTimers value. Default value is true- Returns:
SystemWaitConfiginstance, for chaining setter calls
-
getIncludeTimers
Should the system wait for all outstanding registered timer actions to complete beforeAutoTest.isSystemDone()returns true?- Overrides:
getIncludeTimersin classSystemDoneConfig- Returns:
- Current includeTimers value. Default value is true
-
setTimeout
Timeout forAutoTest.waitForElement()in ms.If unset a default timeout of 30 seconds will be used.
- Parameters:
timeout- New timeout value. Default value is null- Returns:
SystemWaitConfiginstance, for chaining setter calls
-
getTimeout
Timeout forAutoTest.waitForElement()in ms.If unset a default timeout of 30 seconds will be used.
- Returns:
- Current timeout value. Default value is null
-