Class MavenBatchModeCommandDecorator
- java.lang.Object
-
- com.atlassian.bamboo.plugins.maven.decorator.MavenBatchModeCommandDecorator
-
- All Implemented Interfaces:
TaskProcessCommandDecorator
,BambooPluginModule
public class MavenBatchModeCommandDecorator extends Object implements TaskProcessCommandDecorator
This class will automatically add '--batch-mode' to any Maven 2 and 3 commands that do not already contain '--batch-mode'. This is because sometimes users don't include it themselves and so the build can hang, waiting for user input.
-
-
Constructor Summary
Constructors Constructor Description MavenBatchModeCommandDecorator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull List<String>
decorate(@NotNull TaskContext taskContext, @NotNull List<String> command)
-
-
-
Method Detail
-
decorate
@NotNull public @NotNull List<String> decorate(@NotNull @NotNull TaskContext taskContext, @NotNull @NotNull List<String> command)
- Specified by:
decorate
in interfaceTaskProcessCommandDecorator
-
-