org.granite.generator.ant
Class AntJavaAs3Task
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.granite.generator.ant.AntJavaAs3Task
- All Implemented Interfaces:
- java.lang.Cloneable, JavaAs3GroovyConfiguration, Configuration, GroovyConfiguration
public class AntJavaAs3Task
- extends org.apache.tools.ant.Task
- implements JavaAs3GroovyConfiguration
- Author:
- Franck WOLFF
| 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 |
| 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 |
AntJavaAs3Task
public AntJavaAs3Task()
setOutputdir
public void setOutputdir(java.lang.String outputdir)
setBaseoutputdir
public void setBaseoutputdir(java.lang.String baseoutputdir)
setAs3typefactory
public void setAs3typefactory(java.lang.String as3typefactory)
setEntityfactory
public void setEntityfactory(java.lang.String entityfactory)
setRemotedestinationfactory
public void setRemotedestinationfactory(java.lang.String remotedestinationfactory)
setUid
public void setUid(java.lang.String uid)
setEntitytemplate
public void setEntitytemplate(java.lang.String entitytemplate)
setEntitybasetemplate
public void setEntitybasetemplate(java.lang.String entitybasetemplate)
setBeantemplate
public void setBeantemplate(java.lang.String beantemplate)
setBeanbasetemplate
public void setBeanbasetemplate(java.lang.String beanbasetemplate)
setInterfacetemplate
public void setInterfacetemplate(java.lang.String interfacetemplate)
setEnumtemplate
public void setEnumtemplate(java.lang.String enumtemplate)
setRemotetemplate
public void setRemotetemplate(java.lang.String remotetemplate)
setRemotebasetemplate
public void setRemotebasetemplate(java.lang.String remotebasetemplate)
setTide
public void setTide(boolean tide)
setExternalizelong
public void setExternalizelong(boolean externalizelong)
setExternalizebiginteger
public void setExternalizebiginteger(boolean externalizebiginteger)
setExternalizebigdecimal
public void setExternalizebigdecimal(boolean externalizebigdecimal)
setTransformer
public void setTransformer(java.lang.String transformer)
addFileset
public void addFileset(org.apache.tools.ant.types.FileSet fileSet)
setClasspath
public void setClasspath(org.apache.tools.ant.types.Path path)
createClasspath
public org.apache.tools.ant.types.Path createClasspath()
setClasspathRef
public void setClasspathRef(org.apache.tools.ant.types.Reference r)
addTranslator
public void addTranslator(PackageTranslator translator)
execute
public void execute()
throws org.apache.tools.ant.BuildException
- Overrides:
execute in class org.apache.tools.ant.Task
- Throws:
org.apache.tools.ant.BuildException
getAs3TypeFactory
public As3TypeFactory getAs3TypeFactory()
- Specified by:
getAs3TypeFactory in interface JavaAs3GroovyConfiguration
getEntityFactory
public EntityFactory getEntityFactory()
- Specified by:
getEntityFactory in interface JavaAs3GroovyConfiguration
getRemoteDestinationFactory
public RemoteDestinationFactory getRemoteDestinationFactory()
- Specified by:
getRemoteDestinationFactory in interface JavaAs3GroovyConfiguration
getBaseOutputDir
public java.io.File getBaseOutputDir(JavaAs3Input input)
- Specified by:
getBaseOutputDir in interface JavaAs3GroovyConfiguration
getOutputDir
public java.io.File getOutputDir(JavaAs3Input input)
- Specified by:
getOutputDir in interface JavaAs3GroovyConfiguration
getTemplateUris
public TemplateUri[] getTemplateUris(JavaType.Kind kind,
java.lang.Class<?> clazz)
- Specified by:
getTemplateUris in interface JavaAs3GroovyConfiguration
getTranslators
public java.util.List<PackageTranslator> getTranslators()
- Specified by:
getTranslators in interface JavaAs3GroovyConfiguration
getUid
public java.lang.String getUid()
- Specified by:
getUid in interface JavaAs3GroovyConfiguration
isGenerated
public boolean isGenerated(java.lang.Class<?> clazz)
- Specified by:
isGenerated in interface JavaAs3GroovyConfiguration
getClassLoader
public java.lang.ClassLoader getClassLoader()
- Specified by:
getClassLoader in interface Configuration
getGroovyTemplateFactory
public GroovyTemplateFactory getGroovyTemplateFactory()
- Specified by:
getGroovyTemplateFactory in interface GroovyConfiguration