[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
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
Methods inherited from class | Name |
---|---|
class MatchingTask | add, addType, addDate, setIncludes, setExcludes, setCaseSensitive, setProject, setFollowSymlinks, getSelectors, addSelector, XsetIgnore, XsetItems, addContainsRegexp, createExcludesFile, setDefaultexcludes, createIncludesFile, createInclude, setIncludesfile, setExcludesfile, createPatternSet, selectorElements, appendSelector, addAnd, createExclude, selectorCount, addOr, addNot, addNone, addMajority, hasSelectors, addDifferent, addDepend, addPresent, addModified, addCustom, addFilename, addContains, addDepth, addSize, log, log, log, log, init, execute, bindToOwner, reconfigure, perform, getRuntimeConfigurableWrapper, setRuntimeConfigurableWrapper, maybeConfigure, getOwningTarget, setOwningTarget, setTaskName, setTaskType, getTaskType, getTaskName, clone, getLocation, getDescription, getProject, setDescription, setLocation, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
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.5.14/html/gapi/org/codehaus/groovy/ant/RootLoaderRef.html