Model object to read properties file using Owner
import org.aeonbits.owner.Config; | |
@Config.Sources({"classpath:general.properties"}) | |
public interface GeneralConfig extends Config { | |
String target(); | |
@Config.Key("url.base") | |
String url(); | |
int timeout(); | |
Boolean headless(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment