public static interface JavaCompiler.CompilationTask extends Callable<Boolean>
Before calling the call method, additional aspects of the task can be configured, for example, by calling the setProcessors method.
| Modifier and Type | Method and Description |
|---|---|
Boolean |
call()
Performs this compilation task.
|
void |
setLocale(Locale locale)
Set the locale to be applied when formatting diagnostics and
other localized data.
|
void |
setProcessors(Iterable<? extends Processor> processors)
Sets processors (for annotation processing).
|
void setProcessors(Iterable<? extends Processor> processors)
IllegalStateException - if the task has startedprocessors - processors (for annotation processing)void setLocale(Locale locale)
IllegalStateException - if the task has startedlocale - the locale to apply; null means apply no
localeBoolean call()
call in interface Callable<Boolean>RuntimeException - if an unrecoverable error occurred
in a user-supplied component. The
cause will be the error
in user code.IllegalStateException - if called more than onceaicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2017 aicas GmbH. All Rights Reserved.