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(Map<String,String> map,
int i) |
static String |
getArtifactIdKey(int i) |
static Iterable<String> |
getArtifactKeys(Map<String,?> config) |
static String |
getArtifactName(Map<String,String> map,
int i) |
static String |
getArtifactNameKey(int i) |
static String |
getCopyPattern(Map<String,String> map,
int i) |
static int |
getIndexFromKey(String key)
Retrieves an index from a key.
|
static String |
getLocalPath(Map<String,String> map,
int i) |
static Iterable<String> |
getPathKeys(Map<String,?> config) |
static Collection<Integer> |
getRuntimeArtifactIds(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(Map<String,T> configuration) |
static Iterable<String> |
getTransferKeys(Map<String,?> config) |
static <T> void |
setArtifactId(Map<String,T> map,
int i,
T value) |
static <T> void |
setArtifactName(Map<String,T> map,
int i,
T value) |
static void |
setCopyPattern(Map<String,String> map,
int i,
String copyPattern) |
static void |
setLocalPath(Map<String,String> map,
int i,
String localPath) |
static void |
setRuntimeArtifactIds(Map<String,String> map,
int i,
Collection<? extends Number> value) |
static <T> void |
setSourcePlanKey(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 Map<String,String> map, int i, String localPath)
public static void setCopyPattern(@NotNull Map<String,String> map, int i, String copyPattern)
public static void setRuntimeArtifactIds(@NotNull Map<String,String> map, int i, @NotNull Collection<? extends Number> value)
public static Collection<Integer> getRuntimeArtifactIds(@NotNull Map<String,String> map, int i)
@Nullable public static <T> T getSourcePlanKey(@NotNull Map<String,T> configuration)
public static <T> void setSourcePlanKey(@NotNull Map<String,T> map, @NotNull T value)
public static <T> void setArtifactName(@NotNull Map<String,T> map, int i, @NotNull T value)
public static <T> void setArtifactId(@NotNull Map<String,T> map, int i, @NotNull T value)
public static String getArtifactIdKey(int i)
public static String getArtifactNameKey(int i)
public static int getIndexFromKey(@NotNull String key)
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.