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> KeyValueSource
A
Properties
implementation that preserves insertion order.- See Also:
-
Nested Class Summary
-
Field Summary
Fields inherited from class java.util.Properties
defaults
-
Constructor Summary
ConstructorsConstructorDescriptionSurefireProperties
(Properties source) SurefireProperties
(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, 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
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
Methods inherited from class java.util.Hashtable
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
-
Constructor Details
-
SurefireProperties
public SurefireProperties() -
SurefireProperties
-
SurefireProperties
-
-
Method Details
-
putAll
-
put
-
remove
-
clear
public void clear() -
keys
-
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 interfaceKeyValueSource
-
setProperty
-
setProperty
-
setProperty
-
setProperty
-
addList
-
setClasspath
-
loadProperties
- Throws:
IOException
-
setNullableProperty
-