The project context used by a Profile
Type | Name and description |
---|---|
java.io.File |
getBaseDir() @return The base directory of the project |
ConfigMap |
getConfig() @return The codegen config |
GrailsConsole |
getConsole() @return The GrailsConsole instance |
java.lang.String |
navigateConfig(java.lang.String... path) Obtains a value from the codegen configuration |
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