Package io.webdevice.wiring
Class DeviceDefinition
- java.lang.Object
-
- io.webdevice.wiring.DeviceDefinition
-
- All Implemented Interfaces:
Serializable
public class DeviceDefinition extends Object implements Serializable
TheDeviceDefinitionclass supports 3 types of device providers- Custom
DeviceProviderimplementations DirectDeviceProviderRemoteDeviceProvider
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DeviceDefinition()
-
Method Summary
-
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name)
-
withName
public DeviceDefinition withName(String name)
-
withAlias
public DeviceDefinition withAlias(String alias)
-
isPooled
public boolean isPooled()
-
setPooled
public void setPooled(boolean pooled)
-
withPooled
public DeviceDefinition withPooled(boolean pooled)
-
getProvider
public Class<? extends DeviceProvider> getProvider()
-
setProvider
public void setProvider(Class<? extends DeviceProvider> provider)
-
withProvider
public DeviceDefinition withProvider(Class<? extends DeviceProvider> provider)
-
isProvided
public boolean isProvided()
-
getDriver
public Class<? extends org.openqa.selenium.WebDriver> getDriver()
-
setDriver
public void setDriver(Class<? extends org.openqa.selenium.WebDriver> driver)
-
withDriver
public DeviceDefinition withDriver(Class<? extends org.openqa.selenium.WebDriver> driver)
-
getRemoteAddress
public URL getRemoteAddress()
-
setRemoteAddress
public void setRemoteAddress(URL remoteAddress)
-
withRemoteAddress
public DeviceDefinition withRemoteAddress(URL remoteAddress)
-
isRemote
public boolean isRemote()
-
getCapabilitiesRef
public String getCapabilitiesRef()
-
setCapabilitiesRef
public void setCapabilitiesRef(String capabilitiesRef)
-
withCapabilitiesRef
public DeviceDefinition withCapabilitiesRef(String capabilitiesRef)
-
getOptions
public Class<? extends org.openqa.selenium.MutableCapabilities> getOptions()
-
setOptions
public void setOptions(Class<? extends org.openqa.selenium.MutableCapabilities> options)
-
withOptions
public DeviceDefinition withOptions(Class<? extends org.openqa.selenium.MutableCapabilities> options)
-
getDesired
public String getDesired()
-
setDesired
public void setDesired(String desired)
-
withDesired
public DeviceDefinition withDesired(String desired)
-
withCapability
public DeviceDefinition withCapability(String capability, Object value)
-
getExtraCapability
public String getExtraCapability()
-
setExtraCapability
public void setExtraCapability(String extraCapability)
-
withExtraCapability
public DeviceDefinition withExtraCapability(String extraCapability)
-
withExtraOption
public DeviceDefinition withExtraOption(String option, Object value)
-
withConfidential
public DeviceDefinition withConfidential(String mask)
-
build
public org.springframework.beans.factory.support.BeanDefinitionBuilder build()
-
-