org.codehaus.mojo.exec
Class ExecMojoTest.MockExecMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.exec.AbstractExecMojo
org.codehaus.mojo.exec.ExecMojo
org.codehaus.mojo.exec.ExecMojoTest.MockExecMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Enclosing class:
- ExecMojoTest
static class ExecMojoTest.MockExecMojo
- extends ExecMojo
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Methods inherited from class org.codehaus.mojo.exec.ExecMojo |
execute, getExecutable, getExecutablePath, getExecutor, getSuccessCodes, isResultCodeAFailure, setArguments, setBasedir, setExecutable, setProject, setSuccessCodes, setWorkingDirectory, setWorkingDirectory |
Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
executeResult
public int executeResult
commandLines
public List commandLines
failureMsg
public String failureMsg
systemProperties
public Map systemProperties
ExecMojoTest.MockExecMojo
ExecMojoTest.MockExecMojo()
executeCommandLine
protected int executeCommandLine(org.apache.commons.exec.Executor exec,
org.apache.commons.exec.CommandLine commandLine,
Map enviro,
OutputStream out,
OutputStream err)
throws IOException,
org.apache.commons.exec.ExecuteException
- Overrides:
executeCommandLine
in class ExecMojo
- Throws:
IOException
org.apache.commons.exec.ExecuteException
getSystemProperty
protected String getSystemProperty(String key)
- Overrides:
getSystemProperty
in class ExecMojo
getAmountExecutedCommandLines
int getAmountExecutedCommandLines()
getExecutedCommandline
org.apache.commons.exec.CommandLine getExecutedCommandline(int index)
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.