Class Configuration
- java.lang.Object
-
- org.antublue.test.engine.internal.configuration.Configuration
-
public class Configuration extends Object
Class to implement Configuration
-
-
Field Summary
Fields Modifier and Type Field Description static StringANTUBLUE_TEST_ENGINE_CONFIGURATION_TRACEConfiguration constant
-
Constructor Summary
Constructors Constructor Description Configuration()Constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<String>get(String key)Method to get a configuration propertyOptional<Boolean>getBoolean(String key)Method to get a configuration propertySet<String>keySet()Method to get a Set of configuration keysstatic Configurationsingleton()intsize()Method to get the number of configuration properties
-
-
-
Field Detail
-
ANTUBLUE_TEST_ENGINE_CONFIGURATION_TRACE
public static final String ANTUBLUE_TEST_ENGINE_CONFIGURATION_TRACE
Configuration constant- See Also:
- Constant Field Values
-
-
Method Detail
-
singleton
public static Configuration singleton()
-
get
public Optional<String> get(String key)
Method to get a configuration property- Parameters:
key- the key- Returns:
- the value
-
getBoolean
public Optional<Boolean> getBoolean(String key)
Method to get a configuration property- Parameters:
key- the key- Returns:
- the value
-
size
public int size()
Method to get the number of configuration properties- Returns:
- the number of configuration properties
-
-