Interface SupportsNoResetOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
BaseOptions
,EspressoOptions
,GeckoOptions
,Mac2Options
,SafariOptions
,UiAutomator2Options
,WindowsOptions
,XCUITestOptions
public interface SupportsNoResetOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
NO_RESET_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.lang.Boolean>
doesNoReset()
Get whether the app does not do a reset.default T
noReset()
Set the app not to do a reset.default T
setNoReset(boolean bool)
Set whether the app does not do a reset.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
NO_RESET_OPTION
static final java.lang.String NO_RESET_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
noReset
default T noReset()
Set the app not to do a reset.- Returns:
- self instance for chaining.
-
setNoReset
default T setNoReset(boolean bool)
Set whether the app does not do a reset.- Parameters:
bool
- is whether the app does not do a reset.- Returns:
- self instance for chaining.
-
doesNoReset
default java.util.Optional<java.lang.Boolean> doesNoReset()
Get whether the app does not do a reset.- Returns:
- true if the app does not do a reset.
-
-