Package org.xwiki.test.integration
Class XWikiDefaultExecuteResultHandler
- java.lang.Object
-
- org.apache.commons.exec.DefaultExecuteResultHandler
-
- org.xwiki.test.integration.XWikiDefaultExecuteResultHandler
-
- All Implemented Interfaces:
org.apache.commons.exec.ExecuteResultHandler
public class XWikiDefaultExecuteResultHandler extends org.apache.commons.exec.DefaultExecuteResultHandler
Extend the default implementation class to log an error when the process fails before finishing properly.- Version:
- $Id: 33017d1432c4f1fa6b76912ec00fec81ef629b60 $
-
-
Constructor Summary
Constructors Constructor Description XWikiDefaultExecuteResultHandler(String command)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onProcessFailed(org.apache.commons.exec.ExecuteException e)
-
-
-
Constructor Detail
-
XWikiDefaultExecuteResultHandler
public XWikiDefaultExecuteResultHandler(String command)
- Parameters:
command
- the command being executed (used when logging errors)
-
-