org.apache.maven.surefire.booter
Class PropertiesWrapper
java.lang.Object
org.apache.maven.surefire.booter.PropertiesWrapper
public class PropertiesWrapper
- extends Object
- Author:
- Kristian Rosenvold
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertiesWrapper
public PropertiesWrapper(Properties properties)
getProperties
public Properties getProperties()
setAsSystemProperties
public void setAsSystemProperties()
getProperty
public String getProperty(String key)
getBooleanProperty
public boolean getBooleanProperty(String propertyName)
getBooleanObjectProperty
public Boolean getBooleanObjectProperty(String propertyName)
getIntegerObjectProperty
public Integer getIntegerObjectProperty(String propertyName)
getFileProperty
public File getFileProperty(String key)
getListOfTypedObjects
public List getListOfTypedObjects(String propertyPrefix)
getStringList
public List getStringList(String propertyPrefix)
getTypeDecoded
public Object getTypeDecoded(String key)
- Retrieves as single object that is persisted with type encoding
- Parameters:
key
- The key for the propery
- Returns:
- The object, of a supported type
setProperty
public void setProperty(String key,
File file)
setProperty
public void setProperty(String key,
Boolean aBoolean)
setProperty
public void setProperty(String key,
Integer integer)
setProperty
public void setProperty(String key,
String value)
addList
public void addList(List items,
String propertyPrefix)
Copyright © 2004-2012 Apache Software Foundation. All Rights Reserved.