org.quattor.pan.tasks
Class CompileTask

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

public class CompileTask
extends Task<CompileResult>

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

Author:
loomis

Nested Class Summary
static class CompileTask.CallImpl
          Compiles the template from scratch.
 
Field Summary
 
Fields inherited from class org.quattor.pan.tasks.Task
info, resultType
 
Constructor Summary
CompileTask(java.lang.String tplfile, CompileCache.PostCompileProcessor postCompileProcessor, CompilerOptions compilerOptions)
           
 
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

CompileTask

public CompileTask(java.lang.String tplfile,
                   CompileCache.PostCompileProcessor postCompileProcessor,
                   CompilerOptions compilerOptions)


Copyright © 2011 Quattor. All Rights Reserved.