Uses of Class
io.jooby.EnvironmentOptions
Packages that use EnvironmentOptions
-
Uses of EnvironmentOptions in io.jooby
Methods in io.jooby that return EnvironmentOptionsModifier and TypeMethodDescriptionEnvironmentOptions.setActiveNames(String... activeNames) Set active environment names.EnvironmentOptions.setActiveNames(List<String> activeNames) Set active environment names.EnvironmentOptions.setBasedir(String basedir) Set base dir.EnvironmentOptions.setBasedir(Path basedir) Set base dir.EnvironmentOptions.setClassLoader(ClassLoader classLoader) Set class loader.EnvironmentOptions.setFilename(String filename) Set file name.Methods in io.jooby with parameters of type EnvironmentOptionsModifier and TypeMethodDescriptionstatic EnvironmentEnvironment.loadEnvironment(EnvironmentOptions options) This method search for an application.conf file in three location (first-listed are higher priority): ${user.dir}/conf: This is a file system location, useful is you want to externalize configuration (outside of jar file).Jooby.setEnvironmentOptions(EnvironmentOptions options) Set environment options and initialize/overrides the environment.