Package: org.gradle.api.plugins.jetty

## [Java] Class JettyStop

- org.gradle.api.plugins.jetty.JettyStop

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

- - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `String` | `getStopKey()` Returns the stop key.
    `Integer` | `getStopPort()` Returns the TCP port to use to send stop command.
    `void` | `setStopKey(String stopKey)` Sets key to provide when stopping jetty.
    `void` | `setStopPort(Integer stopPort)` Sets the TCP port to use to send stop command.
    `void` | `stop()`

- - ### Method Detail

    - #### public String getStopKey()

      Returns the stop key.

      See Also:
        setStopKey(String)

    - #### public Integer getStopPort()

      Returns the TCP port to use to send stop command.

    - #### public void setStopKey(String stopKey)

      Sets key to provide when stopping jetty.

    - #### public void setStopPort(Integer stopPort)

      Sets the TCP port to use to send stop command.

    - #### @TaskAction public void stop()