Class Configuration
java.lang.Object
org.antublue.test.engine.internal.Configuration
Class to implement Configuration
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionMethod to get a configuration propertygetBoolean(String key) Method to get a configuration propertygetBooleanOrDefault(String key, boolean defaultValue) Method to get a configuration propertygetOrDefault(String key, String defaultValue) Method to get a configuration propertystatic ConfigurationMethod to get the singleton
-
Field Details
-
ANTUBLUE_TEST_ENGINE_CONFIGURATION_TRACE
Configuration constant- See Also:
-
-
Method Details
-
singleton
Method to get the singleton- Returns:
- the singleton
-
get
Method to get a configuration property- Parameters:
key- the key- Returns:
- the value
-
getOrDefault
Method to get a configuration property- Parameters:
key- the keydefaultValue- the default value- Returns:
- the property value
-
getBoolean
Method to get a configuration property- Parameters:
key- the key- Returns:
- the value
-
getBooleanOrDefault
Method to get a configuration property- Parameters:
key- the keydefaultValue- the default value- Returns:
- the value
-