public class ArtifactDownloaderTaskConfigurationHelper extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ARTIFACT_CONTEXTS |
static String |
ARTIFACT_ID |
static String |
ARTIFACT_NAME |
static String |
AVAILABLE_ARTIFACTS |
static String |
LOCAL_PATH |
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 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 <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 |
setLocalPath(@NotNull Map<String,String> map,
int i,
String localPath) |
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 TRANSFER_ID
public static final String ARTIFACT_NAME
public static final String LOCAL_PATH
public static final String AVAILABLE_ARTIFACTS
public static final String ARTIFACT_CONTEXTS
public static void setLocalPath(@NotNull @NotNull Map<String,String> map, int i, String localPath)
@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.