Package org.flywaydb.database.sqlserver
Enum SQLServerEngineEdition
- java.lang.Object
-
- java.lang.Enum<SQLServerEngineEdition>
-
- org.flywaydb.database.sqlserver.SQLServerEngineEdition
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SQLServerEngineEdition>
public enum SQLServerEngineEdition extends java.lang.Enum<SQLServerEngineEdition>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AZURE_SQL_EDGE
ENTERPRISE
EXPRESS
MANAGED_INSTANCE
PERSONAL_DESKTOP
SQL_DATA_WAREHOUSE
SQL_DATABASE
STANDARD
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SQLServerEngineEdition
fromCode(int code)
static SQLServerEngineEdition
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SQLServerEngineEdition[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PERSONAL_DESKTOP
public static final SQLServerEngineEdition PERSONAL_DESKTOP
-
STANDARD
public static final SQLServerEngineEdition STANDARD
-
ENTERPRISE
public static final SQLServerEngineEdition ENTERPRISE
-
EXPRESS
public static final SQLServerEngineEdition EXPRESS
-
SQL_DATABASE
public static final SQLServerEngineEdition SQL_DATABASE
-
SQL_DATA_WAREHOUSE
public static final SQLServerEngineEdition SQL_DATA_WAREHOUSE
-
MANAGED_INSTANCE
public static final SQLServerEngineEdition MANAGED_INSTANCE
-
AZURE_SQL_EDGE
public static final SQLServerEngineEdition AZURE_SQL_EDGE
-
-
Method Detail
-
values
public static SQLServerEngineEdition[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SQLServerEngineEdition c : SQLServerEngineEdition.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SQLServerEngineEdition valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
fromCode
public static SQLServerEngineEdition fromCode(int code)
-
-