org.apache.openjpa.ant
Class MetaDataToolTask
java.lang.Object
MatchingTask
org.apache.openjpa.lib.ant.AbstractTask
org.apache.openjpa.ant.MetaDataToolTask
public class MetaDataToolTask
- extends AbstractTask
Executes the metadata tool on the specified files. This task can
take the following arguments:
Methods inherited from class org.apache.openjpa.lib.ant.AbstractTask |
addFileset, assertFiles, createClasspath, createConfig, execute, getClassLoader, getConfiguration, setClasspath, setHaltOnError, setIsolate, setUseParentClassloader |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
flags
protected MetaDataTool.Flags flags
fileName
protected String fileName
MetaDataToolTask
public MetaDataToolTask()
setAction
public void setAction(MetaDataToolTask.Action act)
- Set the tool action.
setFile
public void setFile(String fileName)
- Set the file to write the metadata to.
newConfiguration
protected ConfigurationImpl newConfiguration()
- Description copied from class:
AbstractTask
- Implement this method to return a configuration object for the
product in use.
- Specified by:
newConfiguration
in class AbstractTask
executeOn
protected void executeOn(String[] files)
throws IOException
- Description copied from class:
AbstractTask
- Perform the task action on the given files.
- Specified by:
executeOn
in class AbstractTask
- Throws:
IOException
Copyright © 2006 Apache Software Foundation. All Rights Reserved.