Package org.apache.jmeter.report.config
Class SubConfiguration
java.lang.Object
org.apache.jmeter.report.config.SubConfiguration
- Direct Known Subclasses:
InstanceConfiguration
The class SubConfiguration describes a sub configuration item
- Since:
- 3.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the properties of the item.final <TProperty>
TPropertygetProperty
(String key, TProperty defaultValue, Class<TProperty> clazz) Gets the value of the specified property.
-
Constructor Details
-
SubConfiguration
public SubConfiguration()
-
-
Method Details
-
getProperties
Gets the properties of the item.- Returns:
- the properties of the item
-
getProperty
public final <TProperty> TProperty getProperty(String key, TProperty defaultValue, Class<TProperty> clazz) throws ConfigurationException Gets the value of the specified property.- Type Parameters:
TProperty
- the type of the property- Parameters:
key
- the key identifier of the propertydefaultValue
- the default value of the propertyclazz
- the class of the property- Returns:
- the value of property if found; defaultValue otherwise
- Throws:
ConfigurationException
- if cannot convert property
-