@Component(role=LifecycleTaskSegmentCalculator.class) 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() |
Modifier and Type | Method and Description |
---|---|
List<TaskSegment> |
calculateTaskSegments(MavenSession session) |
List<TaskSegment> |
calculateTaskSegments(MavenSession session,
List<String> tasks) |
boolean |
requiresProject(MavenSession session) |
public DefaultLifecycleTaskSegmentCalculator()
public List<TaskSegment> calculateTaskSegments(MavenSession session) throws PluginNotFoundException, PluginResolutionException, PluginDescriptorParsingException, MojoNotFoundException, NoPluginFoundForPrefixException, InvalidPluginDescriptorException, PluginVersionResolutionException, LifecyclePhaseNotFoundException, LifecycleNotFoundException
calculateTaskSegments
in interface LifecycleTaskSegmentCalculator
PluginNotFoundException
PluginResolutionException
PluginDescriptorParsingException
MojoNotFoundException
NoPluginFoundForPrefixException
InvalidPluginDescriptorException
PluginVersionResolutionException
LifecyclePhaseNotFoundException
LifecycleNotFoundException
public List<TaskSegment> calculateTaskSegments(MavenSession session, List<String> tasks) throws PluginNotFoundException, PluginResolutionException, PluginDescriptorParsingException, MojoNotFoundException, NoPluginFoundForPrefixException, InvalidPluginDescriptorException, PluginVersionResolutionException
public boolean requiresProject(MavenSession session)
requiresProject
in interface LifecycleTaskSegmentCalculator
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.