@Component(role=LifecycleTaskSegmentCalculator.class) public class DefaultLifecycleTaskSegmentCalculator extends Object implements LifecycleTaskSegmentCalculator
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–2014 The Apache Software Foundation. All rights reserved.