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
[Java] Class JettyStop

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

    public class JettyStop
    extends ConventionTask

Stops the embedded Jetty web container, if it is running.

Method Summary
`java.lang.String` | `getStopKey()` Returns the stop key.
`java.lang.Integer` | `getStopPort()` Returns the TCP port to use to send stop command.
`void` | `setStopKey(java.lang.String stopKey)` Sets key to provide when stopping jetty.
`void` | `setStopPort(java.lang.Integer stopPort)` Sets the TCP port to use to send stop command.
`void` | `stop()`

Method Detail

### getStopKey

    public java.lang.String getStopKey()

  Returns the stop key.
  See Also:
    setStopKey(String)

### getStopPort

    public java.lang.Integer getStopPort()

  Returns the TCP port to use to send stop command.

### setStopKey

    public void setStopKey(java.lang.String stopKey)

  Sets key to provide when stopping jetty.

### setStopPort

    public void setStopPort(java.lang.Integer stopPort)

  Sets the TCP port to use to send stop command.

### stop

    @TaskAction
    public void stop()

Groovy Documentation