org.quattor.pan.tasks
Class BuildTask

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

public class BuildTask
extends Task<BuildResult>

Wraps the BuildCallable as a Task. This wrapping is done to make sure that the BuildCallable 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
BuildTask(Compiler compiler, java.lang.String objectName)
           
 
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

BuildTask

public BuildTask(Compiler compiler,
                 java.lang.String objectName)


Copyright © 2011 Quattor. All Rights Reserved.