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
-
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 Requests
to 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 SystemWaitConfig
getOrCreateRef
(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 Requests
to 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:
setIncludeFileLoader
in classSystemDoneConfig
- Parameters:
includeFileLoader
- New includeFileLoader value. Default value is true- Returns:
SystemWaitConfig
instance, for chaining setter calls
-
getIncludeFileLoader
Should the system wait for any outstanding FileLoader requests? to complete beforeAutoTest.isSystemDone()
returns true?- Overrides:
getIncludeFileLoader
in classSystemDoneConfig
- Returns:
- Current includeFileLoader value. Default value is true
-
setIncludeNetworkOperations
Should the system wait for any outstandingRPC Requests
to complete beforeAutoTest.isSystemDone()
returns true?If not explicitly set,
implicitNetworkWait
will be consulted- Overrides:
setIncludeNetworkOperations
in classSystemDoneConfig
- Parameters:
includeNetworkOperations
- New includeNetworkOperations value. Default value is true- Returns:
SystemWaitConfig
instance, for chaining setter calls
-
getIncludeNetworkOperations
Should the system wait for any outstandingRPC Requests
to complete beforeAutoTest.isSystemDone()
returns true?If not explicitly set,
implicitNetworkWait
will be consulted- Overrides:
getIncludeNetworkOperations
in 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:
setIncludeRedraws
in classSystemDoneConfig
- Parameters:
includeRedraws
- New includeRedraws value. Default value is true- Returns:
SystemWaitConfig
instance, for chaining setter calls
-
getIncludeRedraws
Should the system wait for any outstanding redraws to complete beforeAutoTest.isSystemDone()
returns true?- Overrides:
getIncludeRedraws
in 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:
setIncludeTimers
in classSystemDoneConfig
- Parameters:
includeTimers
- New includeTimers value. Default value is true- Returns:
SystemWaitConfig
instance, for chaining setter calls
-
getIncludeTimers
Should the system wait for all outstanding registered timer actions to complete beforeAutoTest.isSystemDone()
returns true?- Overrides:
getIncludeTimers
in 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:
SystemWaitConfig
instance, 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
-