|
Groovy 1.6.4 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
java.lang.Objectgroovy.lang.Grab
@Retention(RetentionPolicy.SOURCE) @Target({ ElementType.CONSTRUCTOR, ElementType.FIELD, ElementType.LOCAL_VARIABLE, ElementType.METHOD, ElementType.PARAMETER, ElementType.TYPE}) @interface Grab
Used to grab the referenced artifact and its dependencies and make it available on the Classpath.
Required Element Summary | |
---|---|
String |
module
|
Optional Element Summary | |
---|---|
String |
classifier
|
String |
group
|
boolean |
initClass
By default, when a @Grab annotation is used, the grab() call is added to the static initializers of the class the annotatable node appears in. |
String |
version
|
Method Summary |
---|
Methods inherited from class Object | |
---|---|
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
Element Detail |
---|
String classifier
String group
boolean initClass
String module
String version
Copyright © 2003-2009 The Codehaus. All rights reserved.