public class DroidiumNativeConfiguration extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DRIVER_HOME |
static String |
SELENDROID_VERSION |
static String |
SERVER_HOME |
| Constructor and Description |
|---|
DroidiumNativeConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
File |
getDriverApk() |
String |
getProperty(String name,
String defaultValue)
Gets value of
name property. |
File |
getServerApk() |
void |
setProperties(Map<String,String> properties)
Sets properties as configuration.
|
void |
setProperty(String property,
String value)
Sets
property to value. |
String |
toString() |
void |
validate()
Validates configuration of Arquillian Droidium native plugin.
|
public static final String SELENDROID_VERSION
public static final String SERVER_HOME
public static final String DRIVER_HOME
public File getServerApk()
public File getDriverApk()
public void setProperties(Map<String,String> properties) throws IllegalArgumentException
properties - properties to setIllegalArgumentException - if properties is a null objectpublic String getProperty(String name, String defaultValue) throws IllegalStateException
name property. In case a value for such name does not exist or is null or empty string,
defaultValue is returned.name - name of property you want to get a value ofdefaultValue - value returned in case name is a null string or it is emptyname propertyIllegalArgumentException - if either arguments are null or empty stringsIllegalStateExceptionpublic void setProperty(String property, String value) throws IllegalStateException
property to value.property - property to setvalue - value of propertyIllegalArgumentException - if either arguments are null or empty stringsIllegalStateExceptionpublic void validate()
throws IllegalArgumentException,
IllegalStateException
Copyright © 2015 JBoss by Red Hat. All rights reserved.