hudson.maven
Class MavenBuildProxy2.Filter<CORE extends MavenBuildProxy2>
java.lang.Object
hudson.maven.MavenBuildProxy.Filter<CORE>
hudson.maven.MavenBuildProxy2.Filter<CORE>
- All Implemented Interfaces:
- MavenBuildProxy, MavenBuildProxy2, Serializable
- Enclosing interface:
- MavenBuildProxy2
public abstract static class MavenBuildProxy2.Filter<CORE extends MavenBuildProxy2>
- extends MavenBuildProxy.Filter<CORE>
- implements MavenBuildProxy2
Filter for MavenBuildProxy2.
Meant to be useful as the base class for other filters.
- See Also:
- Serialized Form
|
Method Summary |
void |
appendLastLog()
Maven produces additional error message after the module build is done. |
void |
end()
Notifies that the build has left a module. |
void |
start()
Notifies that the build has entered a module. |
| Methods inherited from class hudson.maven.MavenBuildProxy.Filter |
execute, executeAsync, getArtifactsDir, getMilliSecsSinceBuildStart, getModuleSetRootDir, getProjectRootDir, getRootDir, getTimestamp, isArchivingDisabled, registerAsAggregatedProjectAction, registerAsProjectAction, registerAsProjectAction, setExecutedMojos, setResult |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface hudson.maven.MavenBuildProxy |
execute, executeAsync, getArtifactsDir, getMavenBuildInformation, getMilliSecsSinceBuildStart, getModuleSetRootDir, getProjectRootDir, getRootDir, getTimestamp, isArchivingDisabled, registerAsAggregatedProjectAction, registerAsProjectAction, registerAsProjectAction, setExecutedMojos, setResult |
MavenBuildProxy2.Filter
protected MavenBuildProxy2.Filter(CORE core)
start
public void start()
- Description copied from interface:
MavenBuildProxy2
- Notifies that the build has entered a module.
- Specified by:
start in interface MavenBuildProxy2
end
public void end()
- Description copied from interface:
MavenBuildProxy2
- Notifies that the build has left a module.
- Specified by:
end in interface MavenBuildProxy2
appendLastLog
public void appendLastLog()
- Description copied from interface:
MavenBuildProxy2
- Maven produces additional error message after the module build is done.
So to catch those messages, invoke this method on the last module that was built
after all the Maven processing is done, to append last messages to the console
output of the module.
- Specified by:
appendLastLog in interface MavenBuildProxy2
Copyright © 2004-2011. All Rights Reserved.