public interface ExternalAnnotationsArtifactsResolver
Modifier and Type | Field and Description |
---|---|
static ExtensionPointName<ExternalAnnotationsArtifactsResolver> |
EP_NAME |
Modifier and Type | Method and Description |
---|---|
boolean |
resolve(Project project,
Library library,
AnnotationsLocation annotationsLocation)
Lookup and attach external annotations from given location to given library synchronously
|
boolean |
resolve(Project project,
Library library,
java.lang.String mavenId)
Lookup and attach external annotations for given library synchronously.
|
Promise<Library> |
resolveAsync(Project project,
Library library,
java.lang.String mavenId)
Lookup and attach external annotations for given library in background.
|
static final ExtensionPointName<ExternalAnnotationsArtifactsResolver> EP_NAME
boolean resolve(Project project, Library library, java.lang.String mavenId)
library
- - a library to attach annotations roots tomavenId
- - maven coordinates for annotations look-up in format "groupId:artifactId:version"boolean resolve(Project project, Library library, AnnotationsLocation annotationsLocation)
project
- - current projectlibrary
- - a library to attach annotations roots toannotationsLocation
- - annotations location (including optional repositories url)Promise<Library> resolveAsync(Project project, Library library, java.lang.String mavenId)
project
- - current projectlibrary
- - a library to attach annotations roots tomavenId
- - maven coordinates for annotations look-up in format "groupId:artifactId:version"