public class SurefireProperties extends Properties implements KeyValueSource
defaults
Constructor and Description |
---|
SurefireProperties() |
SurefireProperties(KeyValueSource source) |
SurefireProperties(Properties source) |
Modifier and Type | Method and Description |
---|---|
void |
addList(List<?> items,
String propertyPrefix) |
void |
clear() |
void |
copyPropertiesFrom(Properties source) |
void |
copyTo(Map<Object,Object> target) |
void |
copyToSystemProperties() |
Iterable<Object> |
getStringKeySet() |
Enumeration<Object> |
keys() |
static SurefireProperties |
loadProperties(File file) |
Set<Object> |
propertiesThatCannotBeSetASystemProperties() |
Object |
put(Object key,
Object value) |
void |
putAll(Map<?,?> t) |
Object |
remove(Object key) |
void |
setClasspath(String prefix,
Classpath classpath) |
void |
setNullableProperty(String key,
String value) |
void |
setProperty(String key,
Boolean aBoolean) |
void |
setProperty(String key,
File file) |
void |
setProperty(String key,
int value) |
void |
setProperty(String key,
Long value) |
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, putIfAbsent, rehash, remove, replace, replace, replaceAll, size, toString, values
public SurefireProperties()
public SurefireProperties(Properties source)
public SurefireProperties(KeyValueSource source)
public void putAll(Map<?,?> t)
public void clear()
public void copyPropertiesFrom(Properties source)
public Set<Object> propertiesThatCannotBeSetASystemProperties()
public void copyToSystemProperties()
public void copyTo(Map<Object,Object> target)
copyTo
in interface KeyValueSource
public void setProperty(String key, int value)
public static SurefireProperties loadProperties(File file) throws IOException
IOException
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.