The project context used by a Profile
| Type Params | Return Type | Name and description |
|---|---|---|
|
java.io.File |
getBaseDir()@return The base directory of the project |
|
grails.config.ConfigMap |
getConfig()@return The codegen config |
|
grails.build.logging.GrailsConsole |
getConsole()@return The grails.build.logging.GrailsConsole instance |
|
java.lang.String |
navigateConfig(java.lang.String... path)Obtains a value from the codegen configuration |
<T> |
T |
navigateConfigForType(java.lang.Class<T> requiredType, java.lang.String... path)Obtains a value of the given type from the codegen configuration |
Obtains a value from the codegen configuration
path - The path to valueObtains a value of the given type from the codegen configuration
requiredType - The required return typepath - The path to value