Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Using Owner to read the properties
public class OwnerUsageExample {
public void example() {
GeneralConfig generalConfig = ConfigFactory.create(GeneralConfig.class);
String target =;
String url = generalConfig.url();
int timeout = generalConfig.timeout();
Boolean headlessMode = generalConfig.headless();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment