Class ArtifactDownloaderTask
- java.lang.Object
-
- com.atlassian.bamboo.plugins.artifact.ArtifactDownloaderTask
-
- All Implemented Interfaces:
CommonTaskType
,InternalTaskType
public class ArtifactDownloaderTask extends Object implements CommonTaskType
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEPLOYMENT_FAIL_MESSAGE
static String
ENABLED_ARTIFACT_HANDLERS_MESSAGE
-
Constructor Summary
Constructors Constructor Description ArtifactDownloaderTask(ArtifactManager artifactManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull TaskResult
execute(@NotNull CommonTaskContext taskContext)
Executes the task.
-
-
-
Field Detail
-
DEPLOYMENT_FAIL_MESSAGE
@VisibleForTesting public static final String DEPLOYMENT_FAIL_MESSAGE
- See Also:
- Constant Field Values
-
ENABLED_ARTIFACT_HANDLERS_MESSAGE
public static final String ENABLED_ARTIFACT_HANDLERS_MESSAGE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ArtifactDownloaderTask
public ArtifactDownloaderTask(ArtifactManager artifactManager)
-
-
Method Detail
-
execute
@NotNull public @NotNull TaskResult execute(@NotNull @NotNull CommonTaskContext taskContext) throws TaskException
Description copied from interface:CommonTaskType
Executes the task.- Specified by:
execute
in interfaceCommonTaskType
- Returns:
- a
TaskResult
representing the status of the task execution - Throws:
TaskException
-
-