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

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

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

public enum StartMode {
  Create,
  DropCreate,
  Container;

  public static StartMode of(String val) {
    if ("dropCreate".equalsIgnoreCase(val)) {
      return DropCreate;
    }
    if ("container".equalsIgnoreCase(val)) {
      return Container;
    }
    // default start mode
    return Create;
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy