[Java] Class CompileTaskSupport
- org.codehaus.groovy.ant.CompileTaskSupport
Support for compilation related tasks.
Field Summary
Modifiers | Name | Description |
---|---|---|
protected Path | classpath | |
protected CompilerConfiguration | config | |
protected File | destdir | |
protected boolean | failOnError | |
protected LoggingHelper | log | |
protected Path | src |
Properties Summary
Type | Name and description |
---|---|
Path |
classpath |
Path |
srcdir |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
protected void |
compile() | |
protected GroovyClassLoader |
createClassLoader() | |
Path |
createClasspath() | |
CompilerConfiguration |
createConfiguration() | |
Path |
createSrc() | |
void |
execute() | |
Path |
getClasspath() | |
boolean |
getFailonerror() | |
Path |
getSrcdir() | |
protected void |
handleException(Exception e) | |
void |
setClasspath(Path path) | |
void |
setClasspathRef(Reference r) | |
void |
setDestdir(File dir) | |
void |
setFailonerror(boolean fail) | |
void |
setSrcdir(Path dir) | |
protected void |
validate() |
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 |
Field Detail
protected Path classpath
protected CompilerConfiguration config
protected File destdir
protected boolean failOnError
protected final LoggingHelper log
protected Path src
Property Detail
Path classpath
Path srcdir
Method Detail
protected void compile()
protected GroovyClassLoader createClassLoader()
public Path createClasspath()
public CompilerConfiguration createConfiguration()
public Path createSrc()
public void execute()
public Path getClasspath()
public boolean getFailonerror()
public Path getSrcdir()
protected void handleException(Exception e)
public void setClasspath(Path path)
public void setClasspathRef(Reference r)
public void setDestdir(File dir)
public void setFailonerror(boolean fail)
public void setSrcdir(Path dir)
protected void validate()
© 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/CompileTaskSupport.html