Interface ContentFetcher

  • All Known Implementing Classes:
    RecoverableContentFetcher

    public interface ContentFetcher
    Author: Nikita.Skvortsov Date: 1/13/11
    • Method Detail

      • fetchCachedContentToFile

        void fetchCachedContentToFile​(@NotNull
                                      File cachedFile,
                                      @NotNull
                                      File destination,
                                      @NotNull
                                      String artifactUrl,
                                      @NotNull
                                      ArtifactInfo artifactInfo)
                               throws IOException
        Restore cached on the agent content to file.
        Parameters:
        cachedFile - file that is cached on the agent
        destination - destination file
        artifactUrl - artifact location
        artifactInfo - information about the artifact
        Throws:
        IOException
      • interrupt

        void interrupt()
        Can be called from outside to interrupt fetching of a file content