public abstract class AbstractLaunchMojo extends AbstractCxxMojo
basedir, project, reactorProjects, session, settings
Constructor and Description |
---|
AbstractLaunchMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
protected abstract List<String> |
getArgsList() |
protected abstract String |
getCommandArgs() |
protected Properties |
getEnvs() |
protected abstract String |
getExecutable() |
protected InputStream |
getInputStream() |
protected abstract Map |
getMoreEnvironmentVariables() |
protected OutputStream |
getOutputStreamErr() |
protected OutputStream |
getOutputStreamOut() |
protected abstract List<String> |
getSuccesCode()
The current build session instance.
|
protected abstract File |
getWorkingDir() |
protected boolean |
isResultCodeAFailure(int result) |
protected abstract boolean |
isSkip() |
protected String[] |
parseCommandlineArgs(String commandLineArgs) |
protected void |
postExecute(int resultCode) |
protected void |
preExecute(org.apache.commons.exec.Executor exec,
org.apache.commons.exec.CommandLine commandLine,
Properties enviro) |
protected abstract String getCommandArgs()
protected String[] parseCommandlineArgs(String commandLineArgs) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
- for wrong formatted argumentsprotected abstract String getExecutable()
protected abstract Map getMoreEnvironmentVariables()
protected Properties getEnvs()
protected abstract File getWorkingDir()
protected boolean isResultCodeAFailure(int result)
protected abstract boolean isSkip()
protected OutputStream getOutputStreamOut()
protected OutputStream getOutputStreamErr()
protected InputStream getInputStream()
protected void preExecute(org.apache.commons.exec.Executor exec, org.apache.commons.exec.CommandLine commandLine, Properties enviro) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected void postExecute(int resultCode) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
public void execute() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
Copyright © 2010–2017 Neticoa SAS. All rights reserved.