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 StringARTIFACT_CONTEXTSstatic StringARTIFACT_IDstatic StringARTIFACT_NAMEstatic StringAVAILABLE_ARTIFACTSstatic StringLOCAL_PATHstatic StringSOURCE_PLAN_KEYstatic StringTRANSFER_ID
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static longgetArtifactId(@NotNull Map<String,String> map, int i)static StringgetArtifactIdKey(int i)static Iterable<String>getArtifactKeys(@NotNull Map<String,?> config)static StringgetArtifactName(@NotNull Map<String,String> map, int i)static StringgetArtifactNameKey(int i)static intgetIndexFromKey(@NotNull String key)Retrieves an index from a key.static StringgetLocalPath(@NotNull Map<String,String> map, int i)static Iterable<String>getPathKeys(@NotNull Map<String,?> config)static <T> TgetSourcePlanKey(@NotNull Map<String,T> configuration)static Iterable<String>getTransferKeys(@NotNull Map<String,?> config)static <T> voidsetArtifactId(@NotNull Map<String,T> map, int i, T value)static <T> voidsetArtifactName(@NotNull Map<String,T> map, int i, T value)static voidsetLocalPath(@NotNull Map<String,String> map, int i, String localPath)static <T> voidsetSourcePlanKey(@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.
-
-