public class ConfigChecker$
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static ConfigChecker$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
| Constructor and Description |
|---|
ConfigChecker$() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
format(ConfigChecker.ConfigWarning warning)
Formatted string representation of a warning.
|
void |
main(java.lang.String[] args)
Main method to run the
ConfigChecker as a java program. |
void |
reportIssues(akka.actor.ExtendedActorSystem system)
Validates the configuration of the given actor system.
|
public static final ConfigChecker$ MODULE$
public void main(java.lang.String[] args)
ConfigChecker as a java program. The configuration
is loaded by the Lightbend Config library, i.e. "application.conf" if you don't
specify another file with for example -Dconfig.file.
See https://github.com/typesafehub/config for details of how to specify
configuration location.
Potential configuration issues, if any, are printed to System.out and the JVM
is exited with -1 status code.
If no configuration issues are found the message "No configuration issues found"
is printed to System.out and the JVM is exited with 0 status code.
Use [#reportIssues] if you don't want to exit the JVM.
args - (undocumented)public void reportIssues(akka.actor.ExtendedActorSystem system)
system - (undocumented)public java.lang.String format(ConfigChecker.ConfigWarning warning)
warning - (undocumented)