public abstract class AbstractProcessMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
arguments |
protected Map<String,String> |
environment |
protected HealthCheckUrl |
healthCheckUrl |
protected boolean |
healthCheckValidateSsl |
protected String |
name |
protected String |
processLogFile |
protected org.apache.maven.project.MavenProject |
project |
protected boolean |
skip |
protected int |
waitAfterLaunch |
protected boolean |
waitForInterrupt |
protected String |
workingDir |
| Constructor and Description |
|---|
AbstractProcessMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
setHealthCheckUrl(String url) |
protected void |
sleepUntilInterrupted() |
getLog, getPluginContext, setLog, setPluginContext@Component protected org.apache.maven.project.MavenProject project
@Parameter(property="exec.workingDir") protected String workingDir
@Parameter(property="exec.name") protected String name
@Parameter(defaultValue="${exec.healthCheckUrl}")
protected HealthCheckUrl healthCheckUrl
@Parameter(property="exec.healthCheckValidateSsl",
defaultValue="true")
protected boolean healthCheckValidateSsl
@Parameter(property="exec.waitAfterLaunch",
required=false,
defaultValue="30")
protected int waitAfterLaunch
@Parameter(defaultValue="false",
property="exec.waitForInterrupt")
protected boolean waitForInterrupt
@Parameter(required=false,
property="exec.processLogFile")
protected String processLogFile
@Parameter(defaultValue="false",
property="exec.skip")
protected boolean skip
public void setHealthCheckUrl(String url) throws MalformedURLException
MalformedURLExceptionprotected void sleepUntilInterrupted()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionCopyright © 2017. All rights reserved.