Class FilePropertyProvider
- java.lang.Object
-
- com.testomatio.reporter.propertyconfig.interf.AbstractPropertyProvider
-
- com.testomatio.reporter.propertyconfig.provider.FilePropertyProvider
-
- All Implemented Interfaces:
PropertyProvider
public class FilePropertyProvider extends AbstractPropertyProvider
Property provider that reads from properties file on classpath. Third priority in the property resolution chain.
-
-
Field Summary
-
Fields inherited from class com.testomatio.reporter.propertyconfig.interf.AbstractPropertyProvider
next
-
-
Constructor Summary
Constructors Constructor Description FilePropertyProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetProperty(String key)Gets property value by key.-
Methods inherited from class com.testomatio.reporter.propertyconfig.interf.AbstractPropertyProvider
getPropertyProviders, setNext
-
-
-
-
Method Detail
-
getProperty
public String getProperty(String key)
Description copied from interface:PropertyProviderGets property value by key.- Parameters:
key- property key- Returns:
- property value
-
-