Class ConcurrentLifecycleStarter
java.lang.Object
org.apache.maven.lifecycle.internal.concurrent.ConcurrentLifecycleStarter
- All Implemented Interfaces:
LifecycleStarter
@Named("concurrent")
@Singleton
public class ConcurrentLifecycleStarter
extends Object
implements LifecycleStarter
Starts the build life cycle
-
Constructor Summary
ConstructorDescriptionConcurrentLifecycleStarter
(ExecutionEventCatapult eventCatapult, DefaultLifecycles defaultLifeCycles, BuildPlanExecutor executor, LifecyclePluginResolver lifecyclePluginResolver, MojoDescriptorCreator mojoDescriptorCreator) -
Method Summary
Modifier and TypeMethodDescriptioncalculateTaskSegments
(MavenSession session) calculateTaskSegments
(MavenSession session, List<String> tasks) void
execute
(MavenSession session)
-
Constructor Details
-
ConcurrentLifecycleStarter
@Inject public ConcurrentLifecycleStarter(ExecutionEventCatapult eventCatapult, DefaultLifecycles defaultLifeCycles, BuildPlanExecutor executor, LifecyclePluginResolver lifecyclePluginResolver, MojoDescriptorCreator mojoDescriptorCreator)
-
-
Method Details
-
execute
- Specified by:
execute
in interfaceLifecycleStarter
-
calculateTaskSegments
- Throws:
Exception
-
calculateTaskSegments
public List<TaskSegment> calculateTaskSegments(MavenSession session, List<String> tasks) throws Exception - Throws:
Exception
-