public class JettyStopMojo
extends org.apache.maven.plugin.AbstractMojo
Modifier and Type | Field and Description |
---|---|
protected String |
stopKey
Key to provide when stopping jetty on executing java -DSTOP.KEY=<stopKey>
-DSTOP.PORT=<stopPort> -jar start.jar --stop
|
protected int |
stopPort
Port to listen to stop jetty on sending stop command
|
protected int |
stopWait
Max time in seconds that the plugin will wait for confirmation that jetty has stopped.
|
Constructor and Description |
---|
JettyStopMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
String |
getStopKey() |
int |
getStopPort() |
void |
setStopKey(String stopKey) |
void |
setStopPort(int stopPort) |
protected int stopPort
protected String stopKey
protected int stopWait
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
public int getStopPort()
public void setStopPort(int stopPort)
public String getStopKey()
public void setStopKey(String stopKey)
Copyright © 1995-2015 Webtide. All Rights Reserved.