public class BasicGrailsPluginInfo extends groovy.lang.GroovyObjectSupport implements GrailsPluginInfo
NAME, TRAILING_NAME, VERSION| Constructor and Description |
|---|
BasicGrailsPluginInfo(Resource pluginLocation) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
Resource |
getDescriptor()
Returns the location of the Resource that represents the plugin descriptor (the *GrailsPlugin.groovy file)
|
java.lang.String |
getFullName() |
java.lang.String |
getName() |
Resource |
getPluginDir() |
java.util.Map |
getProperties()
Gets the properties of the plugin as a map
|
java.lang.Object |
getProperty(java.lang.String property) |
java.lang.String |
getVersion() |
int |
hashCode() |
void |
setName(java.lang.String name) |
void |
setProperty(java.lang.String property,
java.lang.Object newValue) |
void |
setVersion(java.lang.String version) |
public BasicGrailsPluginInfo(Resource pluginLocation)
public java.lang.String getName()
getName in interface GrailsPluginInfopublic void setName(java.lang.String name)
public java.lang.String getVersion()
getVersion in interface GrailsPluginInfopublic void setVersion(java.lang.String version)
public void setProperty(java.lang.String property,
java.lang.Object newValue)
setProperty in interface groovy.lang.GroovyObjectsetProperty in class groovy.lang.GroovyObjectSupportpublic java.lang.Object getProperty(java.lang.String property)
getProperty in interface groovy.lang.GroovyObjectgetProperty in class groovy.lang.GroovyObjectSupportpublic java.lang.String getFullName()
getFullName in interface GrailsPluginInfopublic Resource getDescriptor()
GrailsPluginInfogetDescriptor in interface GrailsPluginInfopublic Resource getPluginDir()
getPluginDir in interface GrailsPluginInfopublic java.util.Map getProperties()
GrailsPluginInfogetProperties in interface GrailsPluginInfopublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object