public class Introspect extends Object
Used by the Werval DevShell.
When using in application code, know that theses methods disclose internal data.
Constructor and Description |
---|
Introspect() |
Modifier and Type | Method and Description |
---|---|
Outcome |
config()
Render Werval Config as JSON.
|
Outcome |
version()
Render Werval Version information as JSON.
|
public Outcome config()
public Outcome version()
Here is a sample:
{ "version": "0", "commit": "b5f8727", "dirty": true, "date": "Tue, 03 Sep 2013 16:01:24 GMT", "detail": "io.werval:io.werval.api:0 b5f8727 (dirty) Tue, 03 Sep 2013 16:01:24 GMT" }