org.apache.maven.execution
Class DefaultMavenExecutionResult
java.lang.Object
org.apache.maven.execution.DefaultMavenExecutionResult
- All Implemented Interfaces:
- MavenExecutionResult
public class DefaultMavenExecutionResult
- extends Object
- implements MavenExecutionResult
- Author:
- Jason van Zyl
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultMavenExecutionResult
public DefaultMavenExecutionResult()
setProject
public MavenExecutionResult setProject(MavenProject project)
- Specified by:
setProject
in interface MavenExecutionResult
getProject
public MavenProject getProject()
- Specified by:
getProject
in interface MavenExecutionResult
setTopologicallySortedProjects
public MavenExecutionResult setTopologicallySortedProjects(List<MavenProject> topologicallySortedProjects)
- Specified by:
setTopologicallySortedProjects
in interface MavenExecutionResult
getTopologicallySortedProjects
public List<MavenProject> getTopologicallySortedProjects()
- Specified by:
getTopologicallySortedProjects
in interface MavenExecutionResult
- Returns:
- the sorted list, or an empty list if there are no projects.
getDependencyResolutionResult
public DependencyResolutionResult getDependencyResolutionResult()
- Specified by:
getDependencyResolutionResult
in interface MavenExecutionResult
setDependencyResolutionResult
public MavenExecutionResult setDependencyResolutionResult(DependencyResolutionResult dependencyResolutionResult)
- Specified by:
setDependencyResolutionResult
in interface MavenExecutionResult
getExceptions
public List<Throwable> getExceptions()
- Specified by:
getExceptions
in interface MavenExecutionResult
addException
public MavenExecutionResult addException(Throwable t)
- Specified by:
addException
in interface MavenExecutionResult
hasExceptions
public boolean hasExceptions()
- Specified by:
hasExceptions
in interface MavenExecutionResult
getBuildSummary
public BuildSummary getBuildSummary(MavenProject project)
- Description copied from interface:
MavenExecutionResult
- Gets the build summary for the specified project.
- Specified by:
getBuildSummary
in interface MavenExecutionResult
- Parameters:
project
- The project to get the build summary for, must not be null
.
- Returns:
- The build summary for the project or
null
if the project has not been built (yet).
addBuildSummary
public void addBuildSummary(BuildSummary summary)
- Description copied from interface:
MavenExecutionResult
- Add the specified build summary.
- Specified by:
addBuildSummary
in interface MavenExecutionResult
- Parameters:
summary
- The build summary to add, must not be null
.
Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.