public interface SourceJavadocAttacherImplementation
Lookup
.ServiceProvider
Modifier and Type | Interface and Description |
---|---|
static interface |
SourceJavadocAttacherImplementation.Definer
Extension into the default
SourceJavadocAttacherImplementation allowing to download or find sources and javadoc for given binary. |
static interface |
SourceJavadocAttacherImplementation.Definer2
Extends the
SourceJavadocAttacherImplementation.Definer interface to work better if several providers are defined. |
Modifier and Type | Method and Description |
---|---|
boolean |
attachJavadoc(URL root,
SourceJavadocAttacher.AttachmentListener listener)
Attaches a javadoc root provided by this SPI to given binary root.
|
boolean |
attachSources(URL root,
SourceJavadocAttacher.AttachmentListener listener)
Attaches a source root provided by this SPI to given binary root.
|
boolean attachSources(@NonNull URL root, @NonNull SourceJavadocAttacher.AttachmentListener listener) throws IOException
root
- the binary root to attach sources toa
- listener notified about result when attaching is doneIOException
- in case of errorboolean attachJavadoc(@NonNull URL root, @NonNull SourceJavadocAttacher.AttachmentListener listener) throws IOException
root
- the binary root to attach javadoc toa
- listener notified about result when attaching is doneIOException
- in case of error