Package org.gradle.api.artifacts.result
Schnittstelle ComponentArtifactsResult
- Alle Superschnittstellen:
ComponentResult
The result of successfully resolving a component with a set of artifacts.
- Seit:
- 2.0
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibunggetArtifacts(Class<? extends Artifact> type) Returns the artifacts of the specified type that belong to this component.Von Schnittstelle geerbte Methoden org.gradle.api.artifacts.result.ComponentResult
getId
-
Methodendetails
-
getArtifacts
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:ResolvedArtifactResultfor artifacts which were successfully resolved.UnresolvedArtifactResultfor artifacts which could not be resolved for some reason.
- Gibt zurück:
- the artifacts of this component with the specified type, or an empty set if no artifacts of the type exist.
-