@Named @Singleton public class DefaultLifecycleTaskSegmentCalculator extends Object implements LifecycleTaskSegmentCalculator
Calculates the task segments in the build
NOTE: This class is not part of any public api and can be changed or deleted without prior notice.| Constructor and Description |
|---|
DefaultLifecycleTaskSegmentCalculator(MojoDescriptorCreator mojoDescriptorCreator,
LifecyclePluginResolver lifecyclePluginResolver) |
| Modifier and Type | Method and Description |
|---|---|
List<TaskSegment> |
calculateTaskSegments(MavenSession session) |
List<TaskSegment> |
calculateTaskSegments(MavenSession session,
List<String> tasks) |
boolean |
requiresProject(MavenSession session) |
@Inject public DefaultLifecycleTaskSegmentCalculator(MojoDescriptorCreator mojoDescriptorCreator, LifecyclePluginResolver lifecyclePluginResolver)
public List<TaskSegment> calculateTaskSegments(MavenSession session) throws PluginNotFoundException, PluginResolutionException, PluginDescriptorParsingException, MojoNotFoundException, NoPluginFoundForPrefixException, InvalidPluginDescriptorException, PluginVersionResolutionException, LifecyclePhaseNotFoundException, LifecycleNotFoundException
calculateTaskSegments in interface LifecycleTaskSegmentCalculatorPluginNotFoundExceptionPluginResolutionExceptionPluginDescriptorParsingExceptionMojoNotFoundExceptionNoPluginFoundForPrefixExceptionInvalidPluginDescriptorExceptionPluginVersionResolutionExceptionLifecyclePhaseNotFoundExceptionLifecycleNotFoundExceptionpublic List<TaskSegment> calculateTaskSegments(MavenSession session, List<String> tasks) throws PluginNotFoundException, PluginResolutionException, PluginDescriptorParsingException, MojoNotFoundException, NoPluginFoundForPrefixException, InvalidPluginDescriptorException, PluginVersionResolutionException
public boolean requiresProject(MavenSession session)
requiresProject in interface LifecycleTaskSegmentCalculatorCopyright © 2001–2022 The Apache Software Foundation. All rights reserved.