Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface JavaCompiler.CompilationTask extends Callable<Boolean>
Interface representing a future for a compilation task. The compilation task has not yet started. To start the task, call the call method.
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). |
Method Detail |
---|
void setProcessors(Iterable<? extends Processor> processors)
processors
- processors (for annotation processing)IllegalStateException
- if the task has startedvoid setLocale(Locale locale)
locale
- the locale to apply; null
means apply no
localeIllegalStateException
- if the task has startedBoolean 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 once
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.