public final class AppProperties extends Object
BynderService and run the integration tests.| Constructor and Description |
|---|
AppProperties()
Initialises a new instance of the class by loading the content in the
src/main/resources/app.properties file.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getProperty(String key) |
Settings |
getSettings()
Gets a
Settings instance using the properties define in the
src/main/resources/app.properties file. |
Settings |
getSettingsForLogin()
Gets a
Settings instance for login using the properties define in the
src/main/resources/app.properties file. |
public AppProperties()
public Settings getSettings() throws MalformedURLException
Settings instance using the properties define in the
src/main/resources/app.properties file.Settings instance.MalformedURLException - If no protocol is specified, or an unknown protocol is found,
or spec is null while instantiating the URL.public Settings getSettingsForLogin() throws MalformedURLException
Settings instance for login using the properties define in the
src/main/resources/app.properties file.Settings instance.MalformedURLException - If no protocol is specified, or an unknown protocol is found,
or spec is null while instantiating the URL.Copyright © 2018. All rights reserved.