java.lang.Iterable<ResolvedArtifactResult>
public interface ArtifactCollection extends java.lang.Iterable<ResolvedArtifactResult>
Modifier and Type | Method | Description |
---|---|---|
FileCollection |
getArtifactFiles() |
A file collection containing the files for all artifacts in this collection.
|
java.util.Set<ResolvedArtifactResult> |
getArtifacts() |
Returns the resolved artifacts, performing the resolution if required.
|
java.util.Collection<java.lang.Throwable> |
getFailures() |
Returns any failures to resolve the artifacts for this collection.
|
Provider<java.util.Set<ResolvedArtifactResult>> |
getResolvedArtifacts() |
Returns the resolved artifacts as a
Provider of ResolvedArtifactResult instances. |
FileCollection getArtifactFiles()
java.util.Set<ResolvedArtifactResult> getArtifacts()
ResolveException
- On failure to resolve or download any artifact.Provider<java.util.Set<ResolvedArtifactResult>> getResolvedArtifacts()
Provider
of ResolvedArtifactResult
instances.
The returned Provider
is live, and tracks the producer tasks of this artifact collection.
The provider will resolve the artifact metadata and download the artifact files as required.java.util.Collection<java.lang.Throwable> getFailures()