public enum DockerizedDatabase extends Enum<DockerizedDatabase>
| Modifier and Type | Field and Description |
|---|---|
protected String |
driverClass |
| Modifier and Type | Method and Description |
|---|---|
String |
getDriverClass() |
String[] |
getEnv() |
String |
getImage() |
String |
getPassword() |
org.springframework.web.util.UriComponents |
getUrl() |
String |
getUsername() |
static DockerizedDatabase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DockerizedDatabase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DockerizedDatabase POSTGRES
public static final DockerizedDatabase MYSQL
protected final String driverClass
public static DockerizedDatabase[] values()
for (DockerizedDatabase c : DockerizedDatabase.values()) System.out.println(c);
public static DockerizedDatabase valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getDriverClass()
public String getImage()
public org.springframework.web.util.UriComponents getUrl()
public String getUsername()
public String getPassword()
public String[] getEnv()
Copyright © 2016 TouK. All rights reserved.