org.apache.storm.container.docker

## Class DockerRmCommand

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

-     public class DockerRmCommand
      extends DockerCommand

  Encapsulates the docker rm command and its command line arguments.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DockerRmCommand(String containerName)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getCommandWithArguments()` Get the full command.
    `DockerRmCommand` | `withForce()`

    - ### 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

    - #### DockerRmCommand

          public DockerRmCommand(String containerName)

  - ### Method Detail

    - #### withForce

          public DockerRmCommand withForce()

    - #### getCommandWithArguments

          public String getCommandWithArguments()

      Get the full command.

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

Copyright © 2021 The Apache Software Foundation. All rights reserved.