com.sun.javafx.api
Interface JavafxCompiler.CompilationTask

All Superinterfaces:
java.util.concurrent.Callable<java.lang.Boolean>
All Known Implementing Classes:
JavafxcTask
Enclosing interface:
JavafxCompiler

public static interface JavafxCompiler.CompilationTask
extends java.util.concurrent.Callable<java.lang.Boolean>

Interface representing a future for a compilation task. The compilation task has not yet started. To start the task, call the call method.


Method Summary
 java.lang.Boolean call()
          Performs this compilation task.
 

Method Detail

call

java.lang.Boolean call()
Performs this compilation task. The compilation may only be performed once. Subsequent calls to this method throw IllegalStateException.

Specified by:
call in interface java.util.concurrent.Callable<java.lang.Boolean>
Returns:
true if and only all the files compiled without errors; false otherwise
Throws:
java.lang.RuntimeException - if an unrecoverable error occurred in a user-supplied component. The cause will be the error in user code.
java.lang.IllegalStateException - if called more than once