com.sun.codemodel.ac
Class ACTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by com.sun.codemodel.ac.ACTask
All Implemented Interfaces:
java.lang.Cloneable

public class ACTask
extends org.apache.tools.ant.Task

Annotation compiler ant task.

This task reads annotation classes and generate strongly-typed writers.

Author:
Kohsuke Kawaguchi

Nested Class Summary
static class ACTask.Classes
          Nested <classes> elements.
 
Field Summary
 
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
ACTask()
           
 
Method Summary
 void addConfiguredClasses(ACTask.Classes c)
          List of classes to be handled
 org.apache.tools.ant.types.Path createClasspath()
          Nested <classpath> element.
 void execute()
           
 void setClasspath(org.apache.tools.ant.types.Path cp)
          Nested <classpath> element.
 void setClasspathRef(org.apache.tools.ant.types.Reference r)
           
 void setDestdir(java.io.File output)
           
 void setPackage(java.lang.String pkgName)
           
 void setProject(org.apache.tools.ant.Project 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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ACTask

public ACTask()
Method Detail

setProject

public void setProject(org.apache.tools.ant.Project project)
Overrides:
setProject in class org.apache.tools.ant.ProjectComponent

setPackage

public void setPackage(java.lang.String pkgName)

setClasspath

public void setClasspath(org.apache.tools.ant.types.Path cp)
Nested <classpath> element.


createClasspath

public org.apache.tools.ant.types.Path createClasspath()
Nested <classpath> element.


setClasspathRef

public void setClasspathRef(org.apache.tools.ant.types.Reference r)

setDestdir

public void setDestdir(java.io.File output)

addConfiguredClasses

public void addConfiguredClasses(ACTask.Classes c)
List of classes to be handled


execute

public void execute()
             throws org.apache.tools.ant.BuildException
Overrides:
execute in class org.apache.tools.ant.Task
Throws:
org.apache.tools.ant.BuildException


Copyright © 2005-2011 Sun Microsystems. All Rights Reserved.