org.broadleafcommerce.common.util.sql
Class HibernateToolTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.broadleafcommerce.common.util.sql.HibernateToolTask
- All Implemented Interfaces:
- Cloneable
public class HibernateToolTask
- extends org.apache.tools.ant.Task
This is a re-worked version from Hibernate tools
- Author:
- jfischer
| 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 |
HibernateToolTask
public HibernateToolTask()
createHbm2DDL
public ExporterTask createHbm2DDL()
createClassPathApplicationContext
public ClassPathApplicationContextTask createClassPathApplicationContext()
createFileSystemApplicationContext
public FileSystemApplicationContextTask createFileSystemApplicationContext()
createJPAConfiguration
public JPAConfigurationTask createJPAConfiguration()
addConfiguration
protected boolean addConfiguration(org.hibernate.tool.ant.ConfigurationTask config)
addGenerator
protected boolean addGenerator(ExporterTask generator)
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:
execute in class org.apache.tools.ant.Task
getDestdir
public File getDestdir()
setDestdir
public void setDestdir(File destDir)
isCombinePersistenceUnits
public boolean isCombinePersistenceUnits()
setCombinePersistenceUnits
public void setCombinePersistenceUnits(boolean combinePersistenceUnits)
isRefineFileNames
public boolean isRefineFileNames()
setRefineFileNames
public void setRefineFileNames(boolean refineFileNames)
Copyright © 2013. All Rights Reserved.