public class HibernateToolTask
extends org.apache.tools.ant.Task
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() |
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(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, setTaskType
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.Task
public File getDestdir()
public void setDestdir(File destDir)
public boolean isCombinePersistenceUnits()
public void setCombinePersistenceUnits(boolean combinePersistenceUnits)
public boolean isRefineFileNames()
public void setRefineFileNames(boolean refineFileNames)
Copyright © 2013. All rights reserved.