public static interface DocumentationTool.DocumentationTask extends Callable<Boolean>
Modifier and Type | Method | Description |
---|---|---|
void |
addModules(Iterable<String> moduleNames) |
Adds root modules to be taken into account during module
resolution.
|
Boolean |
call() |
Performs this documentation task.
|
void |
setLocale(Locale locale) |
Sets the locale to be applied when formatting diagnostics and
other localized data.
|
void addModules(Iterable<String> moduleNames)
IllegalArgumentException
to be thrown,
or diagnostics to be reported when the task is started.moduleNames
- the names of the root modulesIllegalArgumentException
- may be thrown for some
invalid module namesIllegalStateException
- 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 Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-internal+0-adhoc.mlchung.jdk9-jdeps