@CompileStatic class Metadata extends Object
Represents the application Metadata and loading mechanics.
Modifiers | Name | Description |
---|---|---|
static class |
Metadata.FinalReference |
Modifiers | Name | Description |
---|---|---|
static String |
APPLICATION_GRAILS_VERSION |
|
static String |
APPLICATION_NAME |
|
static String |
APPLICATION_VERSION |
|
static String |
DEFAULT_APPLICATION_NAME |
|
static String |
DEFAULT_SERVLET_VERSION |
|
static String |
FILE |
|
static String |
SERVLET_VERSION |
Type Params | Return Type | Name and description |
---|---|---|
|
boolean |
containsKey(Object key) |
|
Object |
get(Object key) |
|
String |
getApplicationName()
|
|
String |
getApplicationVersion()
|
|
static Metadata |
getCurrent()
|
|
String |
getEnvironment()
|
|
String |
getGrailsVersion()
|
|
static Metadata |
getInstance(InputStream inputStream) |
|
Object |
getProperty(String propertyName) |
<T> |
T |
getProperty(String key, Class<T> targetType, T defaultValue) |
<T> |
T |
getRequiredProperty(String key, Class<T> targetType) |
|
String |
getServletVersion()
|
|
Object |
navigate(String[] path) |
|
static void |
reset() |