Package org.apache.maven.plugin.surefire
Class SurefireProperties
java.lang.Object
java.util.Dictionary<Object,Object>
java.util.Hashtable<Object,Object>
java.util.Properties
org.apache.maven.plugin.surefire.SurefireProperties
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<Object,
,Object> org.apache.maven.surefire.booter.KeyValueSource
public class SurefireProperties
extends Properties
implements org.apache.maven.surefire.booter.KeyValueSource
A
Properties
implementation that preserves insertion order.- See Also:
-
Field Summary
Fields inherited from class java.util.Properties
defaults
-
Constructor Summary
ConstructorsConstructorDescriptionSurefireProperties
(Properties source) SurefireProperties
(org.apache.maven.surefire.booter.KeyValueSource source) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
clear()
copyPropertiesFrom
(Map<String, String> source) Copies all keys and values from source to these properties, overwriting existing properties with same namecopyPropertiesFrom
(Properties source) Copies all keys and values from source to these properties, overwriting existing properties with same namevoid
void
keys()
static SurefireProperties
loadProperties
(File file) void
void
setClasspath
(String prefix, org.apache.maven.surefire.booter.Classpath classpath) void
setNullableProperty
(String key, String value) void
setProperty
(String key, int value) void
setProperty
(String key, File file) void
setProperty
(String key, Boolean aBoolean) void
setProperty
(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
-
Constructor Details
-
SurefireProperties
public SurefireProperties() -
SurefireProperties
-
SurefireProperties
public SurefireProperties(org.apache.maven.surefire.booter.KeyValueSource source)
-
-
Method Details
-
putAll
-
put
-
remove
-
clear
public void clear() -
keys
- Overrides:
keys
in classProperties
-
copyPropertiesFrom
Copies all keys and values from source to these properties, overwriting existing properties with same name- Parameters:
source
-- Returns:
- all overwritten property names (may be empty if there was no property name clash)
-
copyPropertiesFrom
Copies all keys and values from source to these properties, overwriting existing properties with same name- Parameters:
source
-- Returns:
- all overwritten property names (may be empty if there was no property name clash)
-
getStringKeySet
-
propertiesThatCannotBeSetASystemProperties
-
copyToSystemProperties
public void copyToSystemProperties() -
copyTo
- Specified by:
copyTo
in interfaceorg.apache.maven.surefire.booter.KeyValueSource
-
setProperty
-
setProperty
-
setProperty
-
setProperty
-
addList
-
setClasspath
-
loadProperties
- Throws:
IOException
-
setNullableProperty
-