public interface ProjectContext
The project context used by a Profile
| Type Params | Return Type | Name and description |
|---|---|---|
|
public java.io.File |
getBaseDir()
|
|
public ConfigMap |
getConfig()
|
|
public GrailsConsole |
getConsole()
|
|
public java.lang.String |
navigateConfig(java.lang.String path)Obtains a value from the codegen configuration |
<T> |
public 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