public enum DatabaseType extends Enum<DatabaseType>
| Enum Constant and Description |
|---|
MYSQL |
ORACLE |
POSTGRES |
SQLSERVER |
SQLSERVER_LINUX |
| Modifier and Type | Method and Description |
|---|---|
abstract List<String> |
availableDatabaseVersions() |
URL |
dbConfigTemplate() |
String |
dbType() |
static List<String> |
dbTypes() |
String |
defaultDatabaseVersion(org.apache.maven.project.MavenProject jiraProject)
Determines the default database version for the given JIRA project.
|
abstract String |
defaultDatabaseVersion(String jiraVersion)
Determines the default database version for the given JIRA project version.
|
static DatabaseType |
forDbType(String dbType) |
boolean |
isDatabaseVersionListFixed()
Whether the version list of database is fixed or if more versions
than what are in that list may be available.
|
static DatabaseType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DatabaseType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DatabaseType POSTGRES
public static final DatabaseType MYSQL
public static final DatabaseType ORACLE
public static final DatabaseType SQLSERVER
public static final DatabaseType SQLSERVER_LINUX
public static DatabaseType[] values()
for (DatabaseType c : DatabaseType.values()) System.out.println(c);
public static DatabaseType 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 defaultDatabaseVersion(org.apache.maven.project.MavenProject jiraProject)
jiraProject - the JIRA project.public abstract String defaultDatabaseVersion(String jiraVersion)
jiraVersion - the JIRA version.public abstract List<String> availableDatabaseVersions()
public boolean isDatabaseVersionListFixed()
public String dbType()
public URL dbConfigTemplate()
public static DatabaseType forDbType(String dbType)
Copyright © 2016 Atlassian. All rights reserved.