@Incubating public interface ComponentArtifactsResult extends ComponentResult
修飾子とタイプ | メソッドと説明 |
---|---|
Set<ArtifactResult> |
getArtifacts(Class<? extends Artifact> type)
Returns the component artifacts of the specified type.
|
getId
Set<ArtifactResult> getArtifacts(Class<? extends Artifact> type)
Returns the component artifacts of the specified type. 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.