org.quattor.pan.tasks
Class WriteAnnotationTask

java.lang.Object
  extended by java.util.concurrent.FutureTask<T>
      extended by org.quattor.pan.tasks.Task<TaskResult>
          extended by org.quattor.pan.tasks.WriteAnnotationTask
All Implemented Interfaces:
java.lang.Runnable, java.util.concurrent.Future<TaskResult>, java.util.concurrent.RunnableFuture<TaskResult>

public class WriteAnnotationTask
extends Task<TaskResult>

Wraps the WriteAnnotationCallable as a Task. This wrapping is done to make sure that the WriteAnnotationCallable is fully constructed before passing it to the FutureTask.

Author:
loomis

Field Summary
 
Fields inherited from class org.quattor.pan.tasks.Task
info, resultType
 
Constructor Summary
WriteAnnotationTask(java.io.File outputFile, ASTTemplate ast)
           
 
Method Summary
 
Methods inherited from class org.quattor.pan.tasks.Task
toString
 
Methods inherited from class java.util.concurrent.FutureTask
cancel, done, get, get, isCancelled, isDone, run, runAndReset, set, setException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WriteAnnotationTask

public WriteAnnotationTask(java.io.File outputFile,
                           ASTTemplate ast)


Copyright © 2011 Quattor. All Rights Reserved.