public class WsGen2
extends org.apache.tools.ant.taskdefs.MatchingTask
Modifier and Type | Field and Description |
---|---|
protected org.apache.tools.ant.types.Path |
compileClasspath
-classpath option
|
protected boolean |
extension
-extensions option
|
protected boolean |
inlineSchemas
-inlineSchemas option
|
protected boolean |
verbose
-verbose option
|
Constructor and Description |
---|
WsGen2() |
Modifier and Type | Method and Description |
---|---|
org.apache.tools.ant.types.Path |
createClasspath()
Creates a nested classpath element.
|
org.apache.tools.ant.types.Commandline.Argument |
createJvmarg()
Adds a JVM argument.
|
void |
execute()
Called by the project to let the task do it's work
|
org.apache.tools.ant.types.Path |
getClasspath()
Gets the classpath.
|
org.apache.tools.ant.types.Path |
getCP()
Gets the classpath.
|
boolean |
getDebug()
Gets the debug flag.
|
File |
getDestdir()
Gets the base directory to output generated class.
|
String |
getEncoding()
Gets the encoding for generated source java files.
|
boolean |
getExtension()
Gets the "extension" flag.
|
boolean |
getFork()
Gets the "fork" flag.
|
boolean |
getGenwsdl()
Gets the genWsdl 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.
|
boolean |
getInlineSchemas()
Gets the "inlineSchemas" flag.
|
boolean |
getKeep()
Gets the "keep" flag.
|
boolean |
getOptimize()
Gets the optimize flag.
|
String |
getPortname()
Gets the portName.
|
String |
getProtocol()
Gets the protocol.
|
File |
getResourcedestdir()
Gets the directory for non-class generated files.
|
String |
getSei() |
String |
getServicename()
Gets the serviceName.
|
File |
getSourcedestdir()
Gets the directory to place generated source java files.
|
boolean |
getVerbose()
Gets the "verbose" flag.
|
boolean |
isXendorsed() |
boolean |
isXnocompile() |
void |
setClasspath(org.apache.tools.ant.types.Path classpath)
Set the classpath to be used for this compilation.
|
void |
setClasspathRef(org.apache.tools.ant.types.Reference r)
Adds a reference to a CLASSPATH defined elsewhere.
|
void |
setCP(org.apache.tools.ant.types.Path classpath)
Set the classpath to be used for this compilation.
|
void |
setDebug(boolean debug)
Sets the debug flag.
|
void |
setDestdir(File base)
Sets the base directory to output generated class.
|
void |
setEncoding(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 advertized.
|
void |
setFork(boolean fork)
Sets the "fork" flag.
|
void |
setGenwsdl(boolean genWsdl)
Sets the genWsdl 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 |
setInlineSchemas(boolean inlineSchemas)
Sets the "inlineSchemas" flag.
|
void |
setKeep(boolean keep)
Sets the "keep" flag.
|
void |
setOptimize(boolean optimize)
Sets the optimize flag.
|
void |
setPortname(String name)
Sets the serviceName.
|
void |
setProtocol(String protocol)
Sets the protocol.
|
void |
setResourcedestdir(File resourceDir)
Sets the directory for non-class generated files.
|
void |
setSei(String endpointImplementationClass) |
void |
setServicename(String name)
Sets the serviceName.
|
void |
setSourcedestdir(File sourceBase)
Sets the directory to place generated source java files.
|
void |
setVerbose(boolean verbose)
Sets the "verbose" flag.
|
void |
setXendorsed(boolean xendorsed) |
void |
setXnocompile(boolean xnocompile) |
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
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
protected org.apache.tools.ant.types.Path compileClasspath
protected boolean extension
protected boolean inlineSchemas
protected boolean verbose
public org.apache.tools.ant.types.Path getClasspath()
public void setClasspath(org.apache.tools.ant.types.Path classpath)
public org.apache.tools.ant.types.Path createClasspath()
public void setClasspathRef(org.apache.tools.ant.types.Reference r)
public org.apache.tools.ant.types.Path getCP()
public void setCP(org.apache.tools.ant.types.Path classpath)
public File getDestdir()
public void setDestdir(File base)
public void setFailonerror(boolean value)
public org.apache.tools.ant.types.Commandline.Argument createJvmarg()
public void setXendorsed(boolean xendorsed)
public boolean isXendorsed()
public boolean getExtension()
public void setExtension(boolean extension)
public boolean getInlineSchemas()
public void setInlineSchemas(boolean inlineSchemas)
public boolean getKeep()
public void setKeep(boolean keep)
public boolean getFork()
public void setFork(boolean fork)
public File getResourcedestdir()
public void setResourcedestdir(File resourceDir)
public boolean getOptimize()
public void setOptimize(boolean optimize)
public void setSourcedestdir(File sourceBase)
public File getSourcedestdir()
public void setEncoding(String encoding)
public String getEncoding()
public boolean getVerbose()
public void setVerbose(boolean verbose)
public boolean getDebug()
public void setDebug(boolean debug)
public boolean isXnocompile()
public void setXnocompile(boolean xnocompile)
public boolean getGenwsdl()
public void setGenwsdl(boolean genWsdl)
public String getProtocol()
public void setProtocol(String protocol)
public String getServicename()
public void setServicename(String name)
public String getPortname()
public void setPortname(String name)
public void setIncludeantruntime(boolean include)
public boolean getIncludeantruntime()
public void setIncludejavaruntime(boolean include)
public boolean getIncludejavaruntime()
public String getSei()
public void setSei(String endpointImplementationClass)
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.