| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final String | |
| public static final DBMSType | |
| public static final DBMSType | |
| public static final DBMSType | |
| private final String | |
| private String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Optional | |
| public int | |
| public String | |
| public String | |
| public String | toString()
Overrides java. Returns the name of this enum constant, as contained in the declaration. |
| public static DBMSType | |
| public static DBMSType[] |
| defaultPort | back to summary |
|---|---|
| private final int defaultPort | |
| driverPath | back to summary |
|---|---|
| private final String driverPath | |
| MYSQL | back to summary |
|---|---|
| public static final DBMSType MYSQL | |
| ORACLE | back to summary |
|---|---|
| public static final DBMSType ORACLE | |
| POSTGRESQL | back to summary |
|---|---|
| public static final DBMSType POSTGRESQL | |
| type | back to summary |
|---|---|
| private final String type | |
| urlPattern | back to summary |
|---|---|
| private String urlPattern | |
| DBMSType | back to summary |
|---|---|
| private DBMSType(String type, String driverPath, String urlPattern, int defaultPort) | |
| fromString | back to summary |
|---|---|
| public static Optional | |
| getDefaultPort | back to summary |
|---|---|
| public int getDefaultPort() Retrieves the port number dependent on the type of the database system. | |
| getDriverClassPath | back to summary |
|---|---|
public String getDriverClassPath() throws Error
| |
| getUrl | back to summary |
|---|---|
public String getUrl(String host, int port, String database)
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns the name of this enum constant, as contained in the declaration. This method may be overridden, though it typically isn't necessary or desirable. An enum class should override this method when a more "programmer-friendly" string form exists. | |
| valueOf | back to summary |
|---|---|
| public static DBMSType valueOf(String name) | |
| values | back to summary |
|---|---|
| public static DBMSType[] values() | |