@Component(role=LifecycleTaskSegmentCalculator.class) public class DefaultLifecycleTaskSegmentCalculator extends java.lang.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 |
|---|---|
java.util.List<TaskSegment> |
calculateTaskSegments(MavenSession session) |
java.util.List<TaskSegment> |
calculateTaskSegments(MavenSession session,
java.util.List<java.lang.String> tasks) |
boolean |
requiresProject(MavenSession session) |
public DefaultLifecycleTaskSegmentCalculator()
public java.util.List<TaskSegment> calculateTaskSegments(MavenSession session) throws PluginNotFoundException, PluginResolutionException, PluginDescriptorParsingException, org.apache.maven.plugin.MojoNotFoundException, NoPluginFoundForPrefixException, InvalidPluginDescriptorException, PluginVersionResolutionException, LifecyclePhaseNotFoundException, LifecycleNotFoundException
calculateTaskSegments in interface LifecycleTaskSegmentCalculatorPluginNotFoundExceptionPluginResolutionExceptionPluginDescriptorParsingExceptionorg.apache.maven.plugin.MojoNotFoundExceptionNoPluginFoundForPrefixExceptionInvalidPluginDescriptorExceptionPluginVersionResolutionExceptionLifecyclePhaseNotFoundExceptionLifecycleNotFoundExceptionpublic java.util.List<TaskSegment> calculateTaskSegments(MavenSession session, java.util.List<java.lang.String> tasks) throws PluginNotFoundException, PluginResolutionException, PluginDescriptorParsingException, org.apache.maven.plugin.MojoNotFoundException, NoPluginFoundForPrefixException, InvalidPluginDescriptorException, PluginVersionResolutionException
calculateTaskSegments in interface LifecycleTaskSegmentCalculatorPluginNotFoundExceptionPluginResolutionExceptionPluginDescriptorParsingExceptionorg.apache.maven.plugin.MojoNotFoundExceptionNoPluginFoundForPrefixExceptionInvalidPluginDescriptorExceptionPluginVersionResolutionExceptionpublic boolean requiresProject(MavenSession session)
requiresProject in interface LifecycleTaskSegmentCalculator