
public class DroidiumNativeConfiguration extends Object
| Constructor and Description |
|---|
DroidiumNativeConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlias() |
String |
getKeyalg() |
String |
getKeypass() |
File |
getKeystore() |
File |
getLogFile() |
String |
getProperty(String name,
String defaultValue)
Gets value of
name property. |
boolean |
getRemoveTmpDir() |
File |
getServerApk() |
String |
getSigalg() |
String |
getStorepass() |
File |
getTmpDir() |
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 native plugin.
|
public File getLogFile()
public File getServerApk()
public File getKeystore()
public String getStorepass()
public String getKeypass()
public String getAlias()
public String getSigalg()
public String getKeyalg()
public boolean getRemoveTmpDir()
public File getTmpDir()
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
IllegalArgumentException - if getServerApk() is not readable or if getTmpDir() is not readable
directory of if getTmpDir() is not writable of if getAlias(),getKeypass() or
getStorepass() is either null or empty string.IllegalStateException - if it is impossible to create new file as getLogFile().Copyright © 2013 JBoss by Red Hat. All Rights Reserved.