Class DownloadItem

    • Constructor Summary

      Constructors 
      Constructor Description
      DownloadItem()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      DownloadItem allArtifacts​(boolean allArtifacts)
      Requests downloading all the artifacts provided by the source plan.
      DownloadItem artifact​(@NotNull java.lang.String name)
      Requests downloading a specific artifact.
      protected DownloadItemProperties build()  
      DownloadItem path​(@NotNull java.lang.String path)
      Specifies the path artifact should be downloaded to.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DownloadItem

        public DownloadItem()
    • Method Detail

      • allArtifacts

        public DownloadItem allArtifacts​(boolean allArtifacts)
        Requests downloading all the artifacts provided by the source plan. If specific artifact was selected, the selection is removed.
      • artifact

        public DownloadItem artifact​(@NotNull
                                     @NotNull java.lang.String name)
        Requests downloading a specific artifact. Sets "allArtifacts" to false.
      • path

        public DownloadItem path​(@NotNull
                                 @NotNull java.lang.String path)
        Specifies the path artifact should be downloaded to. The path can be both absolute and relative to the build working directory. Empty by default.