Package org.antublue.test.engine
Class Configuration
java.lang.Object
org.antublue.test.engine.Configuration
Class to implement Configuration
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMethod to get a configuration propertygetBoolean(String key) Method to get a configuration propertystatic ConfigurationMethod to get the singleton instanceMethod to the properties filenamekeySet()Method to get a Set of configuration keysintsize()Method to get the number of configuration properties
-
Field Details
-
ANTUBLUE_TEST_ENGINE_CONFIGURATION_TRACE
Configuration constant- See Also:
-
-
Constructor Details
-
Configuration
public Configuration()Constructor
-
-
Method Details
-
getInstance
Method to get the singleton instance- Returns:
- the singleton instance
-
getPropertiesFilename
Method to the properties filename- Returns:
- the properties filename
-
get
Method to get a configuration property- Parameters:
key- the key- Returns:
- the value
-
getBoolean
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
-
keySet
Method to get a Set of configuration keys- Returns:
- a Set of configuration keys
-