Class Maven2BuildTask
java.lang.Object
com.atlassian.bamboo.plugins.maven.task.Maven2BuildTask
- All Implemented Interfaces:
CommonTaskType
,InternalTaskType
-
Field Summary
-
Constructor Summary
ConstructorDescriptionMaven2BuildTask
(CapabilityContext capabilityContext, EnvironmentVariableAccessor environmentVariableAccessor, ProcessService processService, TestCollationService testCollationService) -
Method Summary
Modifier and TypeMethodDescription@NotNull TaskResult
execute
(@NotNull CommonTaskContext taskContext) Executes the task.
-
Field Details
-
PLUGIN_KEY
- See Also:
-
-
Constructor Details
-
Maven2BuildTask
public Maven2BuildTask(CapabilityContext capabilityContext, EnvironmentVariableAccessor environmentVariableAccessor, ProcessService processService, TestCollationService testCollationService)
-
-
Method Details
-
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
-