Interface ArtifactCollection

    • Method Detail

      • getArtifactFiles

        FileCollection getArtifactFiles()
        A file collection containing the files for all artifacts in this collection. This is primarily useful to wire this artifact collection as a task input.
      • getArtifacts

        Set<ResolvedArtifactResult> getArtifacts()
        Returns the resolved artifacts, performing the resolution if required. This will resolve the artifact metadata and download the artifact files as required.
        Throws:
        ResolveException - On failure to resolve or download any artifact.
      • getFailures

        Collection<Throwable> getFailures()
        Returns any failures to resolve the artifacts for this collection.
        Returns:
        A collection of exceptions, one for each failure in resolution.
        Since:
        4.0