ComponentResultpublic interface ComponentArtifactsResult extends ComponentResult
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Set<ArtifactResult> |
getArtifacts(java.lang.Class<? extends Artifact> type) |
Returns the artifacts of the specified type that belong to this component.
|
getIdjava.util.Set<ArtifactResult> getArtifacts(java.lang.Class<? extends Artifact> type)
Returns the artifacts of the specified type that belong to this component. Includes resolved and unresolved artifacts (if any).
The elements of the returned collection are declared as ArtifactResult, however the artifact instances will also implement one of the
following instances:
ResolvedArtifactResult for artifacts which were successfully resolved.UnresolvedArtifactResult for artifacts which could not be resolved for some reason.