eu.lindenbaum.maven.util
Interface Observer
public interface Observer
A class interested in the result of an Process
.
- Author:
- Tobias Schlager
Method Summary |
String |
handle(int exitValue,
String result)
Called when the observed process exited. |
handle
String handle(int exitValue,
String result)
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Called when the observed process exited.
- Parameters:
exitValue
- of the processresult
- the last output line of the process
- Returns:
- a implementation specific return value
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
Copyright © 2010 Lindenbaum GmbH. All Rights Reserved.