Class ArtifactDownloaderTaskConfigurationHelper


  • public class ArtifactDownloaderTaskConfigurationHelper
    extends Object
    • Method Detail

      • getLocalPath

        public static String getLocalPath​(@NotNull
                                          @NotNull Map<String,​String> map,
                                          int i)
      • setLocalPath

        public static void setLocalPath​(@NotNull
                                        @NotNull Map<String,​String> map,
                                        int i,
                                        String localPath)
      • getSourcePlanKey

        @Nullable
        public static <T> T getSourcePlanKey​(@NotNull
                                             @NotNull Map<String,​T> configuration)
      • setSourcePlanKey

        public static <T> void setSourcePlanKey​(@NotNull
                                                @NotNull Map<String,​T> map,
                                                @NotNull
                                                T value)
      • setArtifactName

        public static <T> void setArtifactName​(@NotNull
                                               @NotNull Map<String,​T> map,
                                               int i,
                                               @NotNull
                                               T value)
      • setArtifactId

        public static <T> void setArtifactId​(@NotNull
                                             @NotNull Map<String,​T> map,
                                             int i,
                                             @NotNull
                                             T value)
      • getArtifactId

        public static long getArtifactId​(@NotNull
                                         @NotNull Map<String,​String> map,
                                         int i)
      • getArtifactName

        public static String getArtifactName​(@NotNull
                                             @NotNull Map<String,​String> map,
                                             int i)
      • getArtifactIdKey

        public static String getArtifactIdKey​(int i)
      • getArtifactNameKey

        public static String getArtifactNameKey​(int i)
      • getIndexFromKey

        public static int getIndexFromKey​(@NotNull
                                          @NotNull String key)
        Retrieves an index from a key. For Some_Key_44 returns 44.