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
FieldsModifier and TypeFieldDescriptionstatic final StringCharset used by your application.static final StringControl the application environment.static final StringThe languages your application supports.static final StringLocation of log configuration file.static final StringThe base package of your application this is computed fromJooby.runApp(String[], Supplier).static final StringApplication process ID.static final StringThe level of information logged during startup.static final StringApplication 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 identifydevvsnon-devapplication deployment. Jooby applies some optimizations fornon-devenvironments. 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 byLogConfigurerand 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:
-