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)
getFileProperty
public File getFileProperty(String key)
getStringList
public List getStringList(String propertyPrefix)
getTypeEncodedValue
public TypeEncodedValue getTypeEncodedValue(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)
setClasspath
public void setClasspath(String prefix,
Classpath classpath)
setProperty
public void setProperty(String key,
String value)
addList
public void addList(List items,
String propertyPrefix)
Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.