All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.ebean.docker.container.Container Maven / Gradle / Ivy

There is a newer version: 5.4
Show newest version
package io.ebean.docker.container;

/**
 * Commands for starting and stopping a DB container.
 */
public interface Container {

  /**
   * Returns the container configuration.
   */
  ContainerConfig config();

  /**
   * Start the container.
   */
  boolean start();

  /**
   * Stop the container using stopMode which defaults to stop and remove.
   */
  void stop();

  /**
   * Stop the container only (no remove).
   */
  void stopOnly();

  /**
   * Return true if the container is running.
   */
  boolean isRunning();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy