|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
com.google.javascript.jscomp.ant.CompileTask
public final class CompileTask
This class implements a simple Ant task to do almost the same as CommandLineRunner. Most of the public methods of this class are entry points for the Ant code to hook into.
Field Summary |
---|
Fields inherited from class org.apache.tools.ant.Task |
---|
target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
---|
description, location, project |
Constructor Summary | |
---|---|
CompileTask()
|
Method Summary | |
---|---|
void |
addExterns(org.apache.tools.ant.types.FileList list)
Sets the externs file. |
void |
addSources(org.apache.tools.ant.types.FileList list)
Sets the source files. |
void |
execute()
|
void |
setCompilationLevel(String value)
Set the compilation level. |
void |
setCustomExternsOnly(boolean value)
Use only custom externs. |
void |
setDebug(boolean value)
Enable debugging options. |
void |
setEncoding(String encoding)
Set input file encoding |
void |
setManageDependencies(boolean value)
|
void |
setOutput(File value)
Set output file. |
void |
setOutputEncoding(String outputEncoding)
Set output file encoding |
void |
setPrettyPrint(boolean pretty)
Set pretty print formatting option |
void |
setPrintInputDelimiter(boolean print)
Set print input delimitter formatting option |
void |
setWarning(String value)
Set the warning level. |
Methods inherited from class org.apache.tools.ant.Task |
---|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
---|
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompileTask()
Method Detail |
---|
public void setWarning(String value)
value
- The warning level by string name. (default, quiet, verbose).public void setDebug(boolean value)
value
- True if debug mode is enabled.public void setCompilationLevel(String value)
value
- The optimization level by string name.
(whitespace, simple, advanced).public void setManageDependencies(boolean value)
public void setCustomExternsOnly(boolean value)
public void setOutput(File value)
public void setEncoding(String encoding)
public void setOutputEncoding(String outputEncoding)
public void setPrettyPrint(boolean pretty)
public void setPrintInputDelimiter(boolean print)
public void addExterns(org.apache.tools.ant.types.FileList list)
public void addSources(org.apache.tools.ant.types.FileList list)
public void execute()
execute
in class org.apache.tools.ant.Task
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |