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 StringDEPLOYMENT_FAIL_MESSAGEstatic StringENABLED_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 TaskResultexecute(@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:CommonTaskTypeExecutes the task.- Specified by:
executein interfaceCommonTaskType- Returns:
- a
TaskResultrepresenting the status of the task execution - Throws:
TaskException
-
-