public interface AvailableSettings
Enumerates the configuration properties supported by Jooby.
The settings defined here may be specified at configuration time:
- in a configuration file, for example, in
application.conf
, or - via program arguments, for example:
java -jar myapp.jar myprop=value
- via JVM properties, for example:
java -Dmyprop=value -jar myapp.jar
- via ENV variable, for example:
myprop=value java -jar myapp.jar
- Since:
- 3.0.0
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Charset used by your application.static final String
Control the application environment.static final String
The languages your application supports.static final String
Location of log configuration file.static final String
The base package of your application this is computed fromJooby.runApp(String[], Supplier)
.static final String
Application process ID.static final String
The level of information logged during startup.static final String
Application temporary directory.
-
Field Details
-
CHARSET
Charset used by your application. Used by template engine, HTTP encoding/decoding, database driver, etc. Default value isUTF-8
.- See Also:
-
ENV
Control the application environment. Use to identifydev
vsnon-dev
application deployment. Jooby applies some optimizations fornon-dev
environments. Default value isdev
.- See Also:
-
LANG
The languages your application supports. Used byContext.locale()
. Default isLocale.getDefault()
.- See Also:
-
LOG_FILE
Location of log configuration file. Used byLogConfigurer
and setting up at application bootstrap time. You don't need to set this property.- See Also:
-
PACKAGE
The base package of your application this is computed fromJooby.runApp(String[], Supplier)
. It may be used by modules to do package scanning.- See Also:
-
PID
Application process ID.- See Also:
-
STARTUP_SUMMARY
The level of information logged during startup. SeeStartupSummary
.- See Also:
-
TMP_DIR
Application temporary directory. Used to dump/save temporary files. Default value is:Paths.get(System.getProperty("user.dir"), "tmp")
- See Also:
-