Class ArtifactDownloaderTaskConfigurationHelper

java.lang.Object
com.atlassian.bamboo.plugin.ArtifactDownloaderTaskConfigurationHelper

public class ArtifactDownloaderTaskConfigurationHelper extends Object
  • Field Details

  • Method Details

    • 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)
    • getTransferKeys

      public static Iterable<String> getTransferKeys(@NotNull @NotNull Map<String,?> config)
    • getArtifactKeys

      public static Iterable<String> getArtifactKeys(@NotNull @NotNull Map<String,?> config)
    • getPathKeys

      public static Iterable<String> getPathKeys(@NotNull @NotNull Map<String,?> config)
    • getIndexFromKey

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