public class ArtifactDownloaderTaskConfigurationHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ARTIFACT_ID |
static String |
ARTIFACT_NAME |
static String |
ARTIFACT_PATTERN |
static String |
AVAILABLE_ARTIFACTS |
static String |
LOCAL_PATH |
static String |
RUNTIME_ARTIFACT_IDS |
static String |
SOURCE_PLAN_KEY |
static String |
TRANSFER_ID |
| Modifier and Type | Method and Description |
|---|---|
static long |
getArtifactId(@NotNull Map<String,String> map,
int i) |
static String |
getArtifactIdKey(int i) |
static Iterable<String> |
getArtifactKeys(@NotNull Map<String,?> config) |
static String |
getArtifactName(@NotNull Map<String,String> map,
int i) |
static String |
getArtifactNameKey(int i) |
static String |
getCopyPattern(@NotNull Map<String,String> map,
int i) |
static int |
getIndexFromKey(@NotNull String key)
Retrieves an index from a key.
|
static String |
getLocalPath(@NotNull Map<String,String> map,
int i) |
static Iterable<String> |
getPathKeys(@NotNull Map<String,?> config) |
static Collection<Integer> |
getRuntimeArtifactIds(@NotNull Map<String,String> map,
int i)
Retrieves the runtime artifact ids calculated by artifact downloader task for a given transfer id.
|
static <T> T |
getSourcePlanKey(@NotNull Map<String,T> configuration) |
static Iterable<String> |
getTransferKeys(@NotNull Map<String,?> config) |
static <T> void |
setArtifactId(@NotNull Map<String,T> map,
int i,
T value) |
static <T> void |
setArtifactName(@NotNull Map<String,T> map,
int i,
T value) |
static void |
setCopyPattern(@NotNull Map<String,String> map,
int i,
String copyPattern) |
static void |
setLocalPath(@NotNull Map<String,String> map,
int i,
String localPath) |
static void |
setRuntimeArtifactIds(@NotNull Map<String,String> map,
int i,
@NotNull Collection<? extends Number> value) |
static <T> void |
setSourcePlanKey(@NotNull Map<String,T> map,
T value) |
public static final String SOURCE_PLAN_KEY
public static final String ARTIFACT_ID
public static final String RUNTIME_ARTIFACT_IDS
public static final String TRANSFER_ID
public static final String ARTIFACT_NAME
public static final String LOCAL_PATH
public static final String ARTIFACT_PATTERN
public static final String AVAILABLE_ARTIFACTS
public static void setLocalPath(@NotNull
@NotNull Map<String,String> map,
int i,
String localPath)
public static void setCopyPattern(@NotNull
@NotNull Map<String,String> map,
int i,
String copyPattern)
public static void setRuntimeArtifactIds(@NotNull
@NotNull Map<String,String> map,
int i,
@NotNull
@NotNull Collection<? extends Number> value)
public static Collection<Integer> getRuntimeArtifactIds(@NotNull @NotNull Map<String,String> map, int i)
@Nullable
public static <T> T getSourcePlanKey(@NotNull
@NotNull Map<String,T> configuration)
public static <T> void setSourcePlanKey(@NotNull
@NotNull Map<String,T> map,
@NotNull
T value)
public static <T> void setArtifactName(@NotNull
@NotNull Map<String,T> map,
int i,
@NotNull
T value)
public static <T> void setArtifactId(@NotNull
@NotNull Map<String,T> map,
int i,
@NotNull
T value)
public static String getArtifactName(@NotNull @NotNull Map<String,String> map, int i)
public static String getArtifactIdKey(int i)
public static String getArtifactNameKey(int i)
public static Iterable<String> getTransferKeys(@NotNull @NotNull Map<String,?> config)
public static Iterable<String> getArtifactKeys(@NotNull @NotNull Map<String,?> config)
public static int getIndexFromKey(@NotNull
@NotNull String key)
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.