Package com.atlassian.bamboo.plugin
Class ArtifactDownloaderTaskConfigurationHelper
- java.lang.Object
-
- com.atlassian.bamboo.plugin.ArtifactDownloaderTaskConfigurationHelper
-
public class ArtifactDownloaderTaskConfigurationHelper extends Object
-
-
Field Summary
Fields Modifier and Type Field 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
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Field Detail
-
SOURCE_PLAN_KEY
public static final String SOURCE_PLAN_KEY
- See Also:
- Constant Field Values
-
ARTIFACT_ID
public static final String ARTIFACT_ID
- See Also:
- Constant Field Values
-
TRANSFER_ID
public static final String TRANSFER_ID
- See Also:
- Constant Field Values
-
ARTIFACT_NAME
public static final String ARTIFACT_NAME
- See Also:
- Constant Field Values
-
LOCAL_PATH
public static final String LOCAL_PATH
- See Also:
- Constant Field Values
-
AVAILABLE_ARTIFACTS
public static final String AVAILABLE_ARTIFACTS
- See Also:
- Constant Field Values
-
ARTIFACT_CONTEXTS
public static final String ARTIFACT_CONTEXTS
- See Also:
- Constant Field Values
-
-
Method Detail
-
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)
-
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)
-
getIndexFromKey
public static int getIndexFromKey(@NotNull @NotNull String key)
Retrieves an index from a key. For Some_Key_44 returns 44.
-
-