Class HibernateToolTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.hibernate.tool.ant.HibernateToolTask
- All Implemented Interfaces:
Cloneable
public class HibernateToolTask
extends org.apache.tools.ant.Task
-
Field Summary
Fields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapperFields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddConfiguredProperty(org.apache.tools.ant.types.Environment.Variable property) voidaddConfiguredPropertySet(org.apache.tools.ant.types.PropertySet ps) protected voidaddGenerator(ExporterTask generator) clone()org.apache.tools.ant.types.PathAdds a path to the classpath.voidexecute()org.hibernate.tool.reveng.api.metadata.MetadataDescriptororg.apache.tools.ant.types.PathvoidsetClasspath(org.apache.tools.ant.types.Path s) Set the classpath to be used when running the Java classvoidsetDestDir(File file) voidsetTemplatePath(org.apache.tools.ant.types.Path path) 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, setTaskTypeMethods inherited from class org.apache.tools.ant.ProjectComponent
getDescription, getLocation, getProject, setDescription, setLocation, setProject
-
Constructor Details
-
HibernateToolTask
public HibernateToolTask()
-
-
Method Details
-
createConfiguration
-
createJDBCConfiguration
-
createJpaConfiguration
-
createHbm2DDL
-
createHbmTemplate
-
createHbm2CfgXml
-
addGenerator
-
createHbm2Java
-
createHbm2HbmXml
-
createHbm2Doc
-
createHbm2DAO
-
createQuery
-
createHbmLint
-
setClasspath
public void setClasspath(org.apache.tools.ant.types.Path s) Set the classpath to be used when running the Java class- Parameters:
s- an Ant Path object containing the classpath.
-
createClasspath
public org.apache.tools.ant.types.Path createClasspath()Adds a path to the classpath.- Returns:
- created classpath
-
execute
public void execute()- Overrides:
executein classorg.apache.tools.ant.Task
-
getDestDir
-
setDestDir
-
getMetadataDescriptor
public org.hibernate.tool.reveng.api.metadata.MetadataDescriptor getMetadataDescriptor() -
setTemplatePath
public void setTemplatePath(org.apache.tools.ant.types.Path path) -
getTemplatePath
public org.apache.tools.ant.types.Path getTemplatePath() -
getProperties
-
addConfiguredPropertySet
public void addConfiguredPropertySet(org.apache.tools.ant.types.PropertySet ps) -
addConfiguredProperty
public void addConfiguredProperty(org.apache.tools.ant.types.Environment.Variable property) -
clone
- Overrides:
clonein classorg.apache.tools.ant.ProjectComponent- Throws:
CloneNotSupportedException
-