public static interface SourceJavadocAttacherImplementation.Definer
SourceJavadocAttacherImplementation
allowing to download or find sources and javadoc for given binary.
The extension implementation is registered in the global Lookup
.Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Returns the description of the
SourceJavadocAttacherImplementation.Definer . |
String |
getDisplayName()
Returns the display name of the
SourceJavadocAttacherImplementation.Definer . |
List<? extends URL> |
getJavadoc(URL root,
Callable<Boolean> cancel)
Returns the list of downloaded javadocs which should be attached to the root.
|
List<? extends URL> |
getSources(URL root,
Callable<Boolean> cancel)
Returns the list of downloaded sources which should be attached to the root.
|
@NonNull String getDisplayName()
SourceJavadocAttacherImplementation.Definer
.@NonNull String getDescription()
SourceJavadocAttacherImplementation.Definer
.@NonNull List<? extends URL> getSources(@NonNull URL root, @NonNull Callable<Boolean> cancel)
root
- the root to download sources forcancel
- the Callable
returning true if the download should be canceled@NonNull List<? extends URL> getJavadoc(@NonNull URL root, @NonNull Callable<Boolean> cancel)
root
- the root to download javadoc forcancel
- the Callable
returning true if the download should be canceled