|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.grails.resolve.GrailsCoreDependencies
public class GrailsCoreDependencies extends java.lang.Object
Encapsulates information about the core dependencies of Grails. This may eventually expand to expose information such as Spring version etc. and be made available in the binding for user dependency declarations.
Field Summary | |
---|---|
java.lang.String |
grailsVersion
|
boolean |
java5compatible
|
java.lang.String |
servletVersion
|
Constructor Summary | |
GrailsCoreDependencies(java.lang.String grailsVersion)
|
|
GrailsCoreDependencies(java.lang.String grailsVersion, java.lang.String servletVersion)
|
Method Summary | |
---|---|
groovy.lang.Closure
|
createDeclaration()
Returns a closure suitable for passing to a DependencyDefinitionParser that will configure the necessary core dependencies for Grails. |
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Field Detail |
---|
public final java.lang.String grailsVersion
public boolean java5compatible
public final java.lang.String servletVersion
Constructor Detail |
---|
public GrailsCoreDependencies(java.lang.String grailsVersion)
public GrailsCoreDependencies(java.lang.String grailsVersion, java.lang.String servletVersion)
Method Detail |
---|
@SuppressWarnings({ "serial", "rawtypes" }) public groovy.lang.Closure createDeclaration()
Groovy Documentation