xdoclet.modules.macromedia.jrun.ejb
Class JRunSubTask

java.lang.Object
  extended by xdoclet.DocletSupport
      extended by xdoclet.SubTask
          extended by xdoclet.TemplateSubTask
              extended by xdoclet.XmlSubTask
                  extended by xdoclet.modules.ejb.dd.AbstractEjbDeploymentDescriptorSubTask
                      extended by xdoclet.modules.macromedia.jrun.ejb.JRunSubTask
All Implemented Interfaces:
java.io.Serializable

public class JRunSubTask
extends AbstractEjbDeploymentDescriptorSubTask

Author:
Aslak Helles?y
See Also:
Serialized Form
ant.element
display-name = "JRun" name = "jrun" parent = "xdoclet.modules.ejb.EjbDocletTask"
created
February 2, 2002

Nested Class Summary
 
Nested classes/interfaces inherited from class xdoclet.TemplateSubTask
TemplateSubTask.ExtentTypes, TemplateSubTask.OfType
 
Field Summary
 
Fields inherited from class xdoclet.DocletSupport
currentClassTag, currentFieldTag, currentMethodTag
 
Constructor Summary
JRunSubTask()
           
 
Method Summary
protected  void engineStarted()
          Describe what the method does
 void execute()
          Describe what the method does
 java.lang.String getCreatetables()
          Gets the Createtables attribute of the JRunSubTask object
 java.lang.String getSource()
          Gets the Source attribute of the JRunSubTask object
 java.lang.String getVersion()
          Gets the Version attribute of the JRunSubTask object
 void setCreatetables(boolean flag)
          Sets the Createtables attribute of the JRunSubTask object
 void setSource(java.lang.String new_data_source)
          Sets the Source attribute of the JRunSubTask object
 void setVersion(java.lang.String version)
          Sets the Version attribute of the JRunSubTask object
 void validateOptions()
          Called to validate configuration parameters.
 
Methods inherited from class xdoclet.modules.ejb.dd.AbstractEjbDeploymentDescriptorSubTask
atLeastOneCmp1EntityBeanExists, atLeastOneCmp2EntityBeanExists, atLeastOneCmpEntityBeanExists
 
Methods inherited from class xdoclet.XmlSubTask
copyAttributesFrom, engineFinished, getDtdURL, getPublicId, getSchema, getSchemaURL, getSystemId, getUseIds, getXmlencoding, isValidateXML, setDtdURL, setPublicId, setSchema, setSchemaURL, setSystemId, setUseIds, setValidateXML, setXmlencoding, startProcess
 
Methods inherited from class xdoclet.TemplateSubTask
addOfType, addOfType, addPackageSubstitution, generateForClass, getAcceptAbstractClasses, getAcceptInterfaces, getDestinationFile, getEngine, getExtent, getGeneratedFileName, getGenerationManager, getHavingClassTag, getOfType, getPackageSubstitutions, getSubTaskClassName, getTemplateURL, init, isPackageSubstitutionInheritanceSupported, isPrefixWithPackageStructure, javaFile, matchesGenerationRules, processInnerClasses, setAcceptAbstractClasses, setAcceptInterfaces, setDestinationFile, setEngine, setExtent, setExtentValue, setGenerationManager, setHavingClassTag, setOfType, setPackageSubstitutionInheritanceSupported, setPackageSubstitutions, setPrefixWithPackageStructure, setSubTaskClassName, setTemplateFile, setTemplateURL, startEngine, startProcessForAll, startProcessPerClass
 
Methods inherited from class xdoclet.SubTask
addConfigParam, getConfigParams, getConfigParamsAsMap, getContext, getDestDir, getMergeDir, getSubTaskName, getXJavaDoc, setDestDir, setMergeDir, setSubTaskName
 
Methods inherited from class xdoclet.DocletSupport
getCurrentClass, getCurrentClassTag, getCurrentConstructor, getCurrentField, getCurrentFieldTag, getCurrentMethod, getCurrentMethodTag, getCurrentPackage, getCurrentTag, isDocletGenerated, popCurrentClass, pushCurrentClass, setCurrentClass, setCurrentClassTag, setCurrentConstructor, setCurrentField, setCurrentFieldTag, setCurrentMethod, setCurrentMethodTag, setCurrentPackage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JRunSubTask

public JRunSubTask()
Method Detail

getSource

public java.lang.String getSource()
Gets the Source attribute of the JRunSubTask object

Returns:
The Source value

getVersion

public java.lang.String getVersion()
Gets the Version attribute of the JRunSubTask object

Returns:
The Version value

getCreatetables

public java.lang.String getCreatetables()
Gets the Createtables attribute of the JRunSubTask object

Returns:
The Createtables value

setSource

public void setSource(java.lang.String new_data_source)
Sets the Source attribute of the JRunSubTask object

Parameters:
new_data_source - The new Source value

setVersion

public void setVersion(java.lang.String version)
Sets the Version attribute of the JRunSubTask object

Parameters:
version - The new Version value

setCreatetables

public void setCreatetables(boolean flag)
Sets the Createtables attribute of the JRunSubTask object

Parameters:
flag - The new Createtables value

validateOptions

public void validateOptions()
                     throws XDocletException
Called to validate configuration parameters.

Overrides:
validateOptions in class TemplateSubTask
Throws:
XDocletException - Description of Exception

execute

public void execute()
             throws XDocletException
Describe what the method does

Overrides:
execute in class TemplateSubTask
Throws:
XDocletException - Describe the exception

engineStarted

protected void engineStarted()
                      throws XDocletException
Describe what the method does

Overrides:
engineStarted in class TemplateSubTask
Throws:
XDocletException - Describe the exception

http://xdoclet.sourceforge.net/