public interface ArtefactInfo
Modifier and Type | Method and Description |
---|---|
java.lang.Class[] |
getClasses()
Gets you the array of all artefact Class(es), the original classes loaded
that represent the artefacts.
|
java.util.Map |
getClassesByName()
Gets you the unmodifiable Map of all artefact Class(es), the actual classes implementing the artefact.
|
GrailsClass |
getGrailsClass(java.lang.String name)
Retrieves the GrailsClass representing a named artefact.
|
GrailsClass |
getGrailsClassByLogicalPropertyName(java.lang.String logicalName)
Retrieves a Grails class by its logical property name.
|
GrailsClass[] |
getGrailsClasses()
Gets you the array of all artefact GrailsClass(es), the classes used to track
information about the artefact.
|
java.util.Map |
getGrailsClassesByName()
Gets you the unmodifiable Map of all artefact GrailsClass(es), the classes that store extra
state relating to the artefact.
|
java.lang.Class[] getClasses()
GrailsClass[] getGrailsClasses()
java.util.Map getClassesByName()
The Map is keyed by class name, i.e. "BookController"
java.util.Map getGrailsClassesByName()
Gets you the unmodifiable Map of all artefact GrailsClass(es), the classes that store extra state relating to the artefact.
The Map is keyed by class name, i.e. "BookController"
GrailsClass getGrailsClass(java.lang.String name)
Retrieves the GrailsClass representing a named artefact.
From the GrailsClass you can get to the original artefact Class using getClazz().
name
- The name of the artefact, i.e. "BookController"GrailsClass getGrailsClassByLogicalPropertyName(java.lang.String logicalName)
logicalName
- The logical name