|
||||||||||
| 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
org.apache.tools.ant.taskdefs.MatchingTask
com.sun.tools.ws.ant.WsTask2
abstract class WsTask2
Base class for WS Tools Ant Task implementations.
| Field Summary |
|---|
| Fields inherited from class org.apache.tools.ant.taskdefs.MatchingTask |
|---|
fileset |
| 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 | |
|---|---|
WsTask2()
|
|
| Method Summary | |
|---|---|
org.apache.tools.ant.types.Commandline.Argument |
createJavacarg()
Adds Javac argument. |
org.apache.tools.ant.types.Commandline.Argument |
createJvmarg()
Adds a JVM argument. |
protected void |
execute(java.lang.String tool,
java.lang.String toolClass)
Let the task do it's work. |
boolean |
getDebug()
Gets the debug flag. |
java.io.File |
getDestdir()
Gets the base directory to output generated class. |
java.lang.String |
getEncoding()
Gets the encoding for generated source java files. |
boolean |
getExtension()
Gets the "extension" flag. |
boolean |
getFork()
Gets the "fork" flag. |
boolean |
getIncludeantruntime()
Gets whether or not the ant classpath is to be included in the task's classpath. |
boolean |
getIncludejavaruntime()
Gets whether or not the java runtime should be included in this task's classpath. |
org.apache.tools.ant.types.Commandline |
getJavacargs()
|
boolean |
getKeep()
Gets the "keep" flag. |
java.io.File |
getSourcedestdir()
Gets the directory to place generated source java files. |
boolean |
getVerbose()
Gets the "verbose" flag. |
boolean |
isFailonerror()
|
boolean |
isXendorsed()
|
boolean |
isXnocompile()
|
protected abstract boolean |
runInVm(java.lang.String[] arguments,
java.io.OutputStream out)
Used to call the tool directly using API. |
void |
setDebug(boolean debug)
Sets the debug flag. |
void |
setDestdir(java.io.File base)
Sets the base directory to output generated class. |
void |
setEncoding(java.lang.String encoding)
Sets the encoding for generated source java files. |
void |
setExtension(boolean extension)
Sets the "extension" flag. |
void |
setFailonerror(boolean value)
Mostly for our SQE teams and not to be advertised. |
void |
setFork(boolean fork)
Sets the "fork" flag. |
void |
setIncludeantruntime(boolean include)
Include ant's own classpath in this task's classpath? |
void |
setIncludejavaruntime(boolean include)
Sets whether or not to include the java runtime libraries to this task's classpath. |
void |
setKeep(boolean keep)
Sets the "keep" flag. |
void |
setSourcedestdir(java.io.File sourceBase)
Sets the directory to place generated source java files. |
protected org.apache.tools.ant.types.CommandlineJava |
setupCommand()
Set up command line to invoke. |
void |
setVerbose(boolean verbose)
Sets the "verbose" flag. |
void |
setXendorsed(boolean xendorsed)
|
void |
setXnocompile(boolean xnocompile)
|
| Methods inherited from class org.apache.tools.ant.taskdefs.MatchingTask |
|---|
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDirectoryScanner, getImplicitFileSet, getSelectors, hasSelectors, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludes, setExcludesfile, setFollowSymlinks, setIncludes, setIncludesfile, setProject, XsetIgnore, XsetItems |
| Methods inherited from class org.apache.tools.ant.Task |
|---|
bindToOwner, execute, 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 |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
WsTask2()
| Method Detail |
|---|
public java.io.File getDestdir()
public void setDestdir(java.io.File base)
base - destination directory for generated class(es).public boolean getExtension()
public void setExtension(boolean extension)
extension - true to set extension mode on, false otherwise.public boolean getKeep()
public void setKeep(boolean keep)
keep - keep generated sources.public boolean getFork()
public void setFork(boolean fork)
fork - true to run execution in a forked JVM.public java.io.File getSourcedestdir()
public void setSourcedestdir(java.io.File sourceBase)
sourceBase - destination directory for generated source(s).public void setEncoding(java.lang.String encoding)
encoding - encoding to use in generated sources.public java.lang.String getEncoding()
public boolean getVerbose()
public void setVerbose(boolean verbose)
verbose - whether to output messages about what the compiler is
doing.public boolean getDebug()
public void setDebug(boolean debug)
debug - generate all debugging info.public org.apache.tools.ant.types.Commandline.Argument createJavacarg()
public org.apache.tools.ant.types.Commandline getJavacargs()
public void setXendorsed(boolean xendorsed)
public boolean isXendorsed()
public boolean isXnocompile()
public void setXnocompile(boolean xnocompile)
public void setFailonerror(boolean value)
value - a boolean valuepublic boolean isFailonerror()
public void setIncludeantruntime(boolean include)
include - a boolean value.public boolean getIncludeantruntime()
public void setIncludejavaruntime(boolean include)
include - a boolean value.public boolean getIncludejavaruntime()
public org.apache.tools.ant.types.Commandline.Argument createJvmarg()
protected final void execute(java.lang.String tool,
java.lang.String toolClass)
throws org.apache.tools.ant.BuildException
tool - string to use in logged messagestoolClass - class name to invoke
org.apache.tools.ant.BuildException - if invocation failsprotected org.apache.tools.ant.types.CommandlineJava setupCommand()
protected abstract boolean runInVm(java.lang.String[] arguments,
java.io.OutputStream out)
arguments - arguments to be passed to the toolout - output for the tool
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||