Overview | Package | Class | Deprecated | Index | Help
| Groovy Documentation
| FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.gradle.api.plugins.jetty
Class JettyStop

    java.lang.Object
      org.gradle.api.internal.ConventionTask
          org.gradle.api.plugins.jetty.JettyStop

    class JettyStop
    extends ConventionTask

Constructor Summary
`JettyStop()`

Method Summary
`java.lang.String` | `getStopKey()` Returns stop key.
`java.lang.Integer` | `getStopPort()` Returns port to listen to stop jetty on sending stop command
`void` | `setStopKey(java.lang.String stopKey)` Sets key to provide when stopping jetty on executing java -DSTOP.KEY=<stopKey> -DSTOP.PORT=<stopPort> -jar start.jar --stop
`void` | `setStopPort(java.lang.Integer stopPort)` Sets port to listen to stop jetty on sending stop command
`void` | `stop()`

Constructor Detail

### JettyStop

    JettyStop()

Method Detail

### getStopKey

    public java.lang.String getStopKey()

  Returns stop key.
  see:
    #setStopKey(String)

### getStopPort

    public java.lang.Integer getStopPort()

  Returns port to listen to stop jetty on sending stop command

### setStopKey

    public void setStopKey(java.lang.String stopKey)

  Sets key to provide when stopping jetty on executing java -DSTOP.KEY=<stopKey> -DSTOP.PORT=<stopPort> -jar start.jar --stop

### setStopPort

    public void setStopPort(java.lang.Integer stopPort)

  Sets port to listen to stop jetty on sending stop command

### stop

    @TaskAction
    public void stop()

Groovy Documentation