
public class DroidiumWebConfiguration extends Object
| Constructor and Description |
|---|
DroidiumWebConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getDebug() |
File |
getLogFile() |
String |
getOptions() |
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. |
void |
validate()
Validates configuration of Arquillian Droidium web plugin.
|
public File getServerApk()
public File getLogFile()
public String getOptions()
public boolean getDebug()
public void setProperties(Map<String,String> properties)
properties - properties to setIllegalArgumentException - if properties is a null objectpublic String getProperty(String name, String defaultValue)
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 stringspublic void setProperty(String property, String value)
property to value.property - property to setvalue - value of propertyIllegalArgumentException - if either arguments are null or empty stringspublic void validate()
IllegalArgumentException - if getServerApk()IllegalStateException - if it is impossible to create new file as getLogFile().Copyright © 2013 JBoss by Red Hat. All rights reserved.