[Java] Class RootLoaderRef
- org.codehaus.groovy.ant.RootLoaderRef
Sets the RootLoader as reference. Reexecution of this task will set a new instance of RootLoader for the reference. arguments:
- ref
- classpath
- See Also:
- RootLoader
- Authors:
- Jochen Theodorou
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
Path |
createClasspath() Adds a path to the classpath. | |
void |
execute() | |
void |
setClasspath(Path classpath) Set the classpath to be used for this compilation. | |
void |
setClasspathRef(Reference r) Adds a reference to a classpath defined elsewhere. | |
void |
setRef(String n) sets the name of the reference which should store the Loader |
Inherited Methods Summary
Method Detail
public Path createClasspath()
Adds a path to the classpath.
- Returns:
- a class path to be configured
public void execute()
public void setClasspath(Path classpath)
Set the classpath to be used for this compilation.
- Parameters:
-
classpath
- an Ant Path object containing the compilation classpath.
public void setClasspathRef(Reference r)
Adds a reference to a classpath defined elsewhere.
- Parameters:
-
r
- a reference to a classpath
public void setRef(String n)
sets the name of the reference which should store the Loader
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.4.21/html/gapi/org/codehaus/groovy/ant/RootLoaderRef.html