com.sun.tools.jxc
Class ApBasedTask

java.lang.Object
  extended by Javac
      extended by com.sun.tools.jxc.ApBasedTask
Direct Known Subclasses:
SchemaGenTask

public abstract class ApBasedTask
extends Javac

Base class for tasks that eventually invoke annotation processing.

Author:
Kohsuke Kawaguchi

Constructor Summary
ApBasedTask()
           
 
Method Summary
protected  void compile()
           
protected abstract  String getCompilationMessage()
           
protected abstract  String getFailedMessage()
           
protected abstract  Processor getProcessor()
          Creates a factory that does the actual job.
protected abstract  void setupCommandlineSwitches(Commandline cmd)
          Implemented by the derived class to set up command line switches passed to annotation processing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApBasedTask

public ApBasedTask()
Method Detail

setupCommandlineSwitches

protected abstract void setupCommandlineSwitches(Commandline cmd)
Implemented by the derived class to set up command line switches passed to annotation processing.


getProcessor

protected abstract Processor getProcessor()
Creates a factory that does the actual job.


compile

protected void compile()

getCompilationMessage

protected abstract String getCompilationMessage()

getFailedMessage

protected abstract String getFailedMessage()


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.