public interface IConversionJob
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute()
Executes a conversion and blocks until the conversion terminates.
|
Future<Boolean> |
schedule()
Schedules the specified conversion to be executed in the background.
|
Future<Boolean> schedule()
true if the conversion was successful, throwing an exception
if the conversion failed with an error or indicating false if the conversion was aborted.boolean execute()
Future.get() on schedule():
Thrown exceptions will additionally be unwrapped from any ExecutionException.
Note: In the current version, all callback methods will be executed from another thread than the current thread. This behavior might change in a future version.
true if the conversion was successful, or false if the conversion was aborted.ConverterException - If the conversion failed.Copyright © 2013–2016. All rights reserved.