Package org.apache.maven.plugin.surefire
Class SurefireProperties
java.lang.Object
java.util.Dictionary<K,V>
java.util.Hashtable<Object,Object>
java.util.Properties
org.apache.maven.plugin.surefire.SurefireProperties
- All Implemented Interfaces:
Serializable,Cloneable,Map<Object,,Object> KeyValueSource
A properties implementation that preserves insertion order.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final LinkedHashSet<Object>private static final Collection<String>Fields inherited from class java.util.Properties
defaults -
Constructor Summary
ConstructorsConstructorDescriptionSurefireProperties(Properties source) SurefireProperties(KeyValueSource source) -
Method Summary
Modifier and TypeMethodDescriptionvoid(package private) static SurefirePropertiescalculateEffectiveProperties(Properties systemProperties, Map<String, String> systemPropertyVariables, Properties userProperties, SurefireProperties props) voidclear()static voidcopyProperties(Properties target, Map<String, String> source) voidcopyPropertiesFrom(Properties source) voidvoidkeys()static SurefirePropertiesloadProperties(File file) private static SurefirePropertiesloadProperties(InputStream inStream) voidvoidsetClasspath(String prefix, Classpath classpath) voidsetNullableProperty(String key, String value) voidsetProperty(String key, File file) voidsetProperty(String key, Boolean aBoolean) voidsetProperty(String key, Long value) Methods inherited from class java.util.Properties
clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, getProperty, getProperty, hashCode, isEmpty, keySet, list, list, load, load, loadFromXML, merge, propertyNames, putIfAbsent, rehash, remove, replace, replace, replaceAll, save, setProperty, size, store, store, storeToXML, storeToXML, storeToXML, stringPropertyNames, toString, values
-
Field Details
-
KEYS_THAT_CANNOT_BE_USED_AS_SYSTEM_PROPERTIES
-
items
-
-
Constructor Details
-
SurefireProperties
public SurefireProperties() -
SurefireProperties
-
SurefireProperties
-
-
Method Details
-
putAll
-
put
-
remove
-
clear
public void clear() -
keys
- Overrides:
keysin classProperties
-
copyPropertiesFrom
-
getStringKeySet
-
propertiesThatCannotBeSetASystemProperties
-
copyToSystemProperties
public void copyToSystemProperties() -
calculateEffectiveProperties
static SurefireProperties calculateEffectiveProperties(Properties systemProperties, Map<String, String> systemPropertyVariables, Properties userProperties, SurefireProperties props) -
copyProperties
-
copyTo
- Specified by:
copyToin interfaceKeyValueSource
-
setProperty
-
setProperty
-
setProperty
-
addList
-
setClasspath
-
loadProperties
- Throws:
IOException
-
loadProperties
- Throws:
IOException
-
setNullableProperty
-