public interface ArtifactSelectionDetails
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<DependencyArtifactSelector> |
getRequestedSelectors() |
Returns the list of requested artifacts for the dependency
|
boolean |
hasSelectors() |
Returns true if the dependency has requested a special artifact (either classifier, type or extension)
|
void |
selectArtifact(java.lang.String type,
java.lang.String extension,
java.lang.String classifier) |
Adds an artifact to substitute.
|
void |
selectArtifact(DependencyArtifactSelector selector) |
Adds an artifact to substitute.
|
void |
withoutArtifactSelectors() |
Removes all artifact selectors, if any.
|
boolean hasSelectors()
java.util.List<DependencyArtifactSelector> getRequestedSelectors()
void withoutArtifactSelectors()
void selectArtifact(java.lang.String type,
@Nullable
java.lang.String extension,
@Nullable
java.lang.String classifier)
getRequestedSelectors() and add them using
selectArtifact(DependencyArtifactSelector).type - the type of the artifact being queriedextension - the extension, defaults to the typeclassifier - the classifier, defaults to null (no classifier)void selectArtifact(DependencyArtifactSelector selector)
selectArtifact(String, String, String)