Save This Page
Home » apache-openjpa-1.1.0-source » org.apache.openjpa » ant » [javadoc | source]
org.apache.openjpa.ant
public class: PCEnhancerTask [javadoc | source]
java.lang.Object
   org.apache.tools.ant.ProjectComponent
      org.apache.tools.ant.Task
         org.apache.tools.ant.taskdefs.MatchingTask
            org.apache.openjpa.lib.ant.AbstractTask
               org.apache.openjpa.ant.PCEnhancerTask

All Implemented Interfaces:
    SelectorContainer, Cloneable

Executes the enhancer on the specified files. This task can take the following arguments:
Field Summary
protected  PCEnhancer.Flags flags     
protected  String dirName     
Fields inherited from org.apache.openjpa.lib.ant.AbstractTask:
fileSets,  haltOnError,  classpath,  useParent,  isolate
Method from org.apache.openjpa.ant.PCEnhancerTask Summary:
executeOn,   newConfiguration,   setAddDefaultConstructor,   setDirectory,   setEnforcePropertyRestrictions,   setTmpClassLoader
Methods from org.apache.openjpa.lib.ant.AbstractTask:
addFileset,   assertFiles,   createClasspath,   createConfig,   execute,   executeOn,   getClassLoader,   getConfiguration,   newConfiguration,   setClasspath,   setHaltOnError,   setIsolate,   setUseParentClassloader
Methods from org.apache.tools.ant.taskdefs.MatchingTask:
XsetIgnore,   XsetItems,   add,   addAnd,   addContains,   addContainsRegexp,   addCustom,   addDate,   addDepend,   addDepth,   addDifferent,   addFilename,   addMajority,   addModified,   addNone,   addNot,   addOr,   addPresent,   addSelector,   addSize,   addType,   appendSelector,   createExclude,   createExcludesFile,   createInclude,   createIncludesFile,   createPatternSet,   getSelectors,   hasSelectors,   selectorCount,   selectorElements,   setCaseSensitive,   setDefaultexcludes,   setExcludes,   setExcludesfile,   setFollowSymlinks,   setIncludes,   setIncludesfile,   setProject
Methods from org.apache.tools.ant.Task:
bindToOwner,   execute,   getOwningTarget,   getRuntimeConfigurableWrapper,   getTaskName,   getTaskType,   init,   log,   log,   log,   log,   maybeConfigure,   perform,   reconfigure,   setOwningTarget,   setRuntimeConfigurableWrapper,   setTaskName,   setTaskType
Methods from org.apache.tools.ant.ProjectComponent:
clone,   getDescription,   getLocation,   getProject,   log,   log,   setDescription,   setLocation,   setProject
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.openjpa.ant.PCEnhancerTask Detail:
 protected  void executeOn(String[] files) throws IOException 
 protected ConfigurationImpl newConfiguration() 
 public  void setAddDefaultConstructor(boolean addDefCons) 
    Set whether or not the enhancer should add a no-args constructor to any PC that does not have a no-args constructor.
 public  void setDirectory(String dirName) 
    Set the output directory we want the enhancer to write to.
 public  void setEnforcePropertyRestrictions(boolean fail) 
    Set whether to fail if the persistent type uses property access and bytecode analysis shows that it may be violating OpenJPA's property access restrictions.
 public  void setTmpClassLoader(boolean tmpClassLoader) 
    Set whether or not to use a default class loader for loading the unenhanced classes.