Package org.apache.storm.container.docker

## Class DockerStopCommand

- java.lang.Object
- - org.apache.storm.container.docker.DockerCommand
  - - org.apache.storm.container.docker.DockerStopCommand

-     public class DockerStopCommand
      extends DockerCommand

  Encapsulates the docker stop command and its command line arguments.

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `DockerStopCommand​(String containerName)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `String` | `getCommandWithArguments()` | Get the full command.
    `DockerStopCommand` | `setGracePeriod​(int value)` |

    - ### Methods inherited from class org.apache.storm.container.docker.DockerCommand

      `addCommandArguments, getCommandOption`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DockerStopCommand

          public DockerStopCommand​(String containerName)

  - ### Method Detail

    - #### setGracePeriod

          public DockerStopCommand setGracePeriod​(int value)

    - #### getCommandWithArguments

          public String getCommandWithArguments()

      Get the full command.
      Overrides:
        `getCommandWithArguments` in class `DockerCommand`
      Returns:
        the full command