io.ebean.docker.container.StartMode Maven / Gradle / Ivy
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