org.jpox.enhancer.tools
Class EnhancerTask

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.Task
          extended byorg.apache.tools.ant.taskdefs.Java
              extended byorg.jpox.enhancer.tools.EnhancerTask
All Implemented Interfaces:
java.lang.Cloneable

public class EnhancerTask
extends org.apache.tools.ant.taskdefs.Java

Enhancer Ant Task.

Version:
$Revision: 1.12 $

Field Summary
 
Fields inherited from class org.apache.tools.ant.taskdefs.Java
redirector, redirectorElement
 
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
 
Constructor Summary
EnhancerTask()
          Default constructor
 
Method Summary
 void execute()
          Execution method
 java.io.File getDir()
          Gets the root dir for looking for files
 void setCheckonly(boolean checkonly)
          Whether to just check the enhancement state
 void setDestination(java.io.File destdir)
          set output dir
 void setDir(java.io.File dir)
          Sets the root dir for looking for files
 void setJDOFileSuffixes(java.lang.String jdoFileSuffixes)
          Set one or more file suffixes for the jdo metadata files.
 void setTypes(java.lang.String userTypesFile)
          set user types file
 void setVerbose(boolean verbose)
          set verbose
 void setVerify(boolean verify)
          Whether to verify the enhancement state.
 
Methods inherited from class org.apache.tools.ant.taskdefs.Java
addAssertions, addConfiguredRedirector, addEnv, addSysproperty, addSyspropertyset, clearArgs, createArg, createBootclasspath, createClasspath, createJvmarg, createPermissions, createWatchdog, executeJava, getCommandLine, getSysProperties, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, maybeSetResultPropertyValue, run, setAppend, setArgs, setClassname, setClasspath, setClasspathRef, setCloneVm, setError, setErrorProperty, setFailonerror, setFork, setInput, setInputString, setJar, setJvm, setJvmargs, setJVMVersion, setLogError, setMaxmemory, setNewenvironment, setOutput, setOutputproperty, setResultProperty, setSpawn, setTimeout, setupRedirector
 
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, 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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnhancerTask

public EnhancerTask()
Default constructor

Method Detail

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Execution method

Throws:
org.apache.tools.ant.BuildException - Thrown when an error occurs when processing the task

setVerify

public void setVerify(boolean verify)
Whether to verify the enhancement state.

Parameters:
verify - Whether to verify

setCheckonly

public void setCheckonly(boolean checkonly)
Whether to just check the enhancement state

Parameters:
checkonly - Whether to just check

setDestination

public void setDestination(java.io.File destdir)
set output dir

Parameters:
destdir - output dir

setTypes

public void setTypes(java.lang.String userTypesFile)
set user types file

Parameters:
userTypesFile - user types filename

setDir

public void setDir(java.io.File dir)
Sets the root dir for looking for files

Parameters:
dir - the root dir

getDir

public java.io.File getDir()
Gets the root dir for looking for files

Returns:
the root dir

setJDOFileSuffixes

public void setJDOFileSuffixes(java.lang.String jdoFileSuffixes)
Set one or more file suffixes for the jdo metadata files. Suffixes are separated with a comma(,)

Parameters:
jdoFileSuffixes - the suffixes

setVerbose

public void setVerbose(boolean verbose)
set verbose

Parameters:
verbose - Whether to give verbose output


Copyright © -2007 . All Rights Reserved.