Package org.apache.axis2.tool.ant
Class AntCodegenTask
- java.lang.Object
-
- org.apache.tools.ant.ProjectComponent
-
- org.apache.tools.ant.Task
-
- org.apache.axis2.tool.ant.AntCodegenTask
-
- All Implemented Interfaces:
Cloneable
public class AntCodegenTask extends org.apache.tools.ant.Task
-
-
Constructor Summary
Constructors Constructor Description AntCodegenTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addConfiguredParameter(org.apache.tools.ant.types.Parameter prop)
org.apache.tools.ant.types.Path
createClasspath()
Sets the classpath.void
execute()
org.apache.tools.ant.types.Path
getClasspath()
String
getDatabindingName()
String
getNamespaceToPackages()
boolean
isServerSideInterface()
void
setAllPorts(boolean allPorts)
void
setAsyncOnly(boolean asyncOnly)
void
setBackwardCompatible(boolean backwardCompatible)
void
setClasspath(org.apache.tools.ant.types.Path path)
void
setClasspathRef(org.apache.tools.ant.types.Reference r)
Set the reference to an optional classpathvoid
setDatabindingName(String databindingName)
void
setExternalMapping(String externalMapping)
void
setFlattenFiles(boolean flattenFiles)
void
setGenerateAllClasses(boolean generateAllClasses)
void
setGenerateServiceXml(boolean generateServiceXml)
void
setLanguage(String language)
void
setNamespaceToPackages(String namespaceToPackages)
void
setOutput(String output)
void
setOverWrite(boolean overWrite)
void
setPackageName(String packageName)
void
setPortName(String portName)
void
setRepositoryPath(String repositoryPath)
void
setServerSide(boolean serverSide)
void
setServerSideInterface(boolean serverSideInterface)
void
setServiceName(String serviceName)
void
setSkipBuildXML(boolean skipBuildXML)
void
setSkipMessageReceiver(boolean skipMessageReceiver)
void
setSkipWSDL(boolean skipWSDL)
void
setSuppressPrefixes(boolean suppressPrefixes)
void
setSyncOnly(boolean syncOnly)
void
setTargetResourcesFolderLocation(String targetResourcesFolderLocation)
void
setTargetSourceFolderLocation(String targetSourceFolderLocation)
void
setTestcase(boolean testcase)
void
setUnpackClasses(boolean unpackClasses)
void
setUnwrap(boolean unwrap)
void
setWsdlFileName(String wsdlFileName)
void
setWsdlVersion(String wsdlVersion)
-
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
-
-
-
-
Method Detail
-
createClasspath
public org.apache.tools.ant.types.Path createClasspath()
Sets the classpath.- Returns:
- Returns Path.
-
setClasspathRef
public void setClasspathRef(org.apache.tools.ant.types.Reference r)
Set the reference to an optional classpath- Parameters:
r
- the id of the Ant path instance to act as the classpath
-
isServerSideInterface
public boolean isServerSideInterface()
- Returns:
-
setServerSideInterface
public void setServerSideInterface(boolean serverSideInterface)
- Parameters:
serverSideInterface
-
-
execute
public void execute() throws org.apache.tools.ant.BuildException
- Overrides:
execute
in classorg.apache.tools.ant.Task
- Throws:
org.apache.tools.ant.BuildException
-
setPortName
public void setPortName(String portName)
-
setServiceName
public void setServiceName(String serviceName)
-
setGenerateAllClasses
public void setGenerateAllClasses(boolean generateAllClasses)
-
setUnpackClasses
public void setUnpackClasses(boolean unpackClasses)
-
setWsdlFileName
public void setWsdlFileName(String wsdlFileName)
-
setOutput
public void setOutput(String output)
-
setPackageName
public void setPackageName(String packageName)
-
setLanguage
public void setLanguage(String language)
-
setAsyncOnly
public void setAsyncOnly(boolean asyncOnly)
-
setSyncOnly
public void setSyncOnly(boolean syncOnly)
-
setServerSide
public void setServerSide(boolean serverSide)
-
setTestcase
public void setTestcase(boolean testcase)
-
setGenerateServiceXml
public void setGenerateServiceXml(boolean generateServiceXml)
-
setRepositoryPath
public void setRepositoryPath(String repositoryPath)
-
setExternalMapping
public void setExternalMapping(String externalMapping)
-
setWsdlVersion
public void setWsdlVersion(String wsdlVersion)
-
setTargetSourceFolderLocation
public void setTargetSourceFolderLocation(String targetSourceFolderLocation)
-
setTargetResourcesFolderLocation
public void setTargetResourcesFolderLocation(String targetResourcesFolderLocation)
-
setUnwrap
public void setUnwrap(boolean unwrap)
-
getClasspath
public org.apache.tools.ant.types.Path getClasspath()
- Returns:
- Returns Path.
-
setClasspath
public void setClasspath(org.apache.tools.ant.types.Path path)
- Parameters:
path
-
-
getDatabindingName
public String getDatabindingName()
-
setDatabindingName
public void setDatabindingName(String databindingName)
-
getNamespaceToPackages
public String getNamespaceToPackages()
-
setNamespaceToPackages
public void setNamespaceToPackages(String namespaceToPackages)
-
addConfiguredParameter
public void addConfiguredParameter(org.apache.tools.ant.types.Parameter prop)
-
setSuppressPrefixes
public void setSuppressPrefixes(boolean suppressPrefixes)
-
setOverWrite
public void setOverWrite(boolean overWrite)
-
setSkipWSDL
public void setSkipWSDL(boolean skipWSDL)
-
setSkipBuildXML
public void setSkipBuildXML(boolean skipBuildXML)
-
setSkipMessageReceiver
public void setSkipMessageReceiver(boolean skipMessageReceiver)
-
setFlattenFiles
public void setFlattenFiles(boolean flattenFiles)
-
setBackwardCompatible
public void setBackwardCompatible(boolean backwardCompatible)
-
setAllPorts
public void setAllPorts(boolean allPorts)
-
-