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
|
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
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-2012 Mort Bay Consulting. All Rights Reserved.