Class Configuration
java.lang.Object
org.antublue.test.engine.internal.configuration.Configuration
- All Implemented Interfaces:
org.junit.platform.engine.ConfigurationParameters
public class Configuration
extends Object
implements org.junit.platform.engine.ConfigurationParameters
Class to implement Configuration
-
Field Summary
Fields inherited from interface org.junit.platform.engine.ConfigurationParameters
CONFIG_FILE_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionentrySet()Method to get the entry set<T> Optional<T> getBoolean(String key) static ConfigurationMethod to get the singleton instancekeySet()voidMethod to set a configuration valueintsize()
-
Constructor Details
-
Configuration
public Configuration()Constructor
-
-
Method Details
-
set
Method to set a configuration value- Parameters:
key- keyvalue- value
-
get
- Specified by:
getin interfaceorg.junit.platform.engine.ConfigurationParameters
-
getBoolean
- Specified by:
getBooleanin interfaceorg.junit.platform.engine.ConfigurationParameters
-
get
- Specified by:
getin interfaceorg.junit.platform.engine.ConfigurationParameters
-
size
public int size()- Specified by:
sizein interfaceorg.junit.platform.engine.ConfigurationParameters
-
keySet
- Specified by:
keySetin interfaceorg.junit.platform.engine.ConfigurationParameters
-
entrySet
Method to get the entry set- Returns:
- the entry set
-
getInstance
Method to get the singleton instance- Returns:
- the singleton instance
-