Class LauncherConfigurationParameters
java.lang.Object
org.junit.platform.launcher.core.LauncherConfigurationParameters
- All Implemented Interfaces:
ConfigurationParameters
- Since:
- 1.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static final classprivate static interface -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.junit.platform.commons.logging.Loggerprivate final List<LauncherConfigurationParameters.ParameterProvider> Fields inherited from interface ConfigurationParameters
CONFIG_FILE_NAME -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate -
Method Summary
Modifier and TypeMethodDescription(package private) static LauncherConfigurationParameters.Builderbuilder()Get the configuration parameter stored under the specifiedkey.getBoolean(String key) Get the boolean configuration parameter stored under the specifiedkey.private StringgetProperty(String key) keySet()Get the keys of all configuration parameters stored in thisConfigurationParameters.private static PropertiesloadClasspathResource(String configFileName) intsize()Get the number of configuration parameters stored directly in thisConfigurationParameters.toString()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ConfigurationParameters
get
-
Field Details
-
logger
private static final org.junit.platform.commons.logging.Logger logger -
providers
-
-
Constructor Details
-
LauncherConfigurationParameters
private LauncherConfigurationParameters(List<LauncherConfigurationParameters.ParameterProvider> providers)
-
-
Method Details
-
builder
-
get
Description copied from interface:ConfigurationParametersGet the configuration parameter stored under the specifiedkey.If no such key is present in this
ConfigurationParameters, an attempt will be made to look up the value as a JVM system property. If no such system property exists, an attempt will be made to look up the value in the JUnit Platform properties file.- Specified by:
getin interfaceConfigurationParameters- Parameters:
key- the key to look up; nevernullor blank- Returns:
- an
Optionalcontaining the value; nevernullbut potentially empty - See Also:
-
getBoolean
Description copied from interface:ConfigurationParametersGet the boolean configuration parameter stored under the specifiedkey.If no such key is present in this
ConfigurationParameters, an attempt will be made to look up the value as a JVM system property. If no such system property exists, an attempt will be made to look up the value in the JUnit Platform properties file.- Specified by:
getBooleanin interfaceConfigurationParameters- Parameters:
key- the key to look up; nevernullor blank- Returns:
- an
Optionalcontaining the value; nevernullbut potentially empty - See Also:
-
size
public int size()Description copied from interface:ConfigurationParametersGet the number of configuration parameters stored directly in thisConfigurationParameters.- Specified by:
sizein interfaceConfigurationParameters
-
keySet
Description copied from interface:ConfigurationParametersGet the keys of all configuration parameters stored in thisConfigurationParameters.- Specified by:
keySetin interfaceConfigurationParameters- Returns:
- the set of keys contained in this
ConfigurationParameters
-
getProperty
-
toString
-
loadClasspathResource
-