public class HibernateToolTask
extends org.apache.tools.ant.Task
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<org.apache.tools.ant.Task> |
appContexts |
protected org.apache.tools.ant.types.Path |
classPath |
protected boolean |
combinePersistenceUnits |
protected java.util.List |
configurationTasks |
protected java.io.File |
destDir |
protected java.util.List |
generators |
protected boolean |
refineFileNames |
| Constructor and Description |
|---|
HibernateToolTask() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
addConfiguration(org.hibernate.tool.ant.ConfigurationTask config) |
protected boolean |
addGenerator(ExporterTask generator) |
org.apache.tools.ant.types.Path |
createClasspath()
Adds a path to the classpath.
|
ClassPathApplicationContextTask |
createClassPathApplicationContext() |
FileSystemApplicationContextTask |
createFileSystemApplicationContext() |
ExporterTask |
createHbm2DDL() |
JPAConfigurationTask |
createJPAConfiguration() |
void |
execute() |
java.io.File |
getDestdir() |
boolean |
isCombinePersistenceUnits() |
boolean |
isRefineFileNames() |
void |
setClasspath(org.apache.tools.ant.types.Path s)
Set the classpath to be used when running the Java class
|
void |
setCombinePersistenceUnits(boolean combinePersistenceUnits) |
void |
setDestdir(java.io.File destDir) |
void |
setRefineFileNames(boolean refineFileNames) |
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeprotected java.util.List configurationTasks
protected java.io.File destDir
protected java.util.List generators
protected java.util.List<org.apache.tools.ant.Task> appContexts
protected org.apache.tools.ant.types.Path classPath
protected boolean combinePersistenceUnits
protected boolean refineFileNames
public ExporterTask createHbm2DDL()
public ClassPathApplicationContextTask createClassPathApplicationContext()
public FileSystemApplicationContextTask createFileSystemApplicationContext()
public JPAConfigurationTask createJPAConfiguration()
protected boolean addConfiguration(org.hibernate.tool.ant.ConfigurationTask config)
protected boolean addGenerator(ExporterTask generator)
public void setClasspath(org.apache.tools.ant.types.Path s)
s - an Ant Path object containing the classpath.public org.apache.tools.ant.types.Path createClasspath()
public void execute()
execute in class org.apache.tools.ant.Taskpublic java.io.File getDestdir()
public void setDestdir(java.io.File destDir)
public boolean isCombinePersistenceUnits()
public void setCombinePersistenceUnits(boolean combinePersistenceUnits)
public boolean isRefineFileNames()
public void setRefineFileNames(boolean refineFileNames)
Copyright © 2018. All Rights Reserved.