[Java] Class RootLoaderRef
- org.codehaus.groovy.ant.RootLoaderRef
public class RootLoaderRef extends MatchingTask
Sets the RootLoader as reference. Re-execution 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 |
---|---|---|
public Path |
createClasspath() Adds a path to the classpath. | |
public void |
execute() | |
public void |
setClasspath(Path classpath) Set the classpath to be used for this compilation. | |
public void |
setClasspathRef(Reference r) Adds a reference to a classpath defined elsewhere. | |
public 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, setIncludes, setExcludes, setCaseSensitive, addDate, setFollowSymlinks, setProject, getSelectors, addSelector, XsetIgnore, XsetItems, hasSelectors, createInclude, createExclude, createExcludesFile, createIncludesFile, setIncludesfile, setExcludesfile, selectorCount, selectorElements, addMajority, addNot, addContains, addNone, addSize, addAnd, addDifferent, addCustom, addDepth, addOr, appendSelector, addModified, addPresent, addContainsRegexp, createPatternSet, addDepend, setDefaultexcludes, addFilename, log, log, log, log, init, execute, getTaskName, setRuntimeConfigurableWrapper, getRuntimeConfigurableWrapper, getTaskType, setTaskType, setOwningTarget, getOwningTarget, setTaskName, maybeConfigure, perform, bindToOwner, reconfigure, clone, getLocation, getDescription, setDescription, getProject, 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/3.0.7/html/gapi/org/codehaus/groovy/ant/RootLoaderRef.html