SqlScriptType Class

public final class SqlScriptType
extends ExpandableStringEnum<SqlScriptType>

The type of the SQL script.

Field Summary

Modifier and Type Field and Description
static final SqlScriptType SQL_QUERY

Static value SqlQuery for SqlScriptType.

Constructor Summary

Constructor Description
SqlScriptType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SqlScriptType value.

Method Summary

Modifier and Type Method and Description
static SqlScriptType fromString(String name)

Creates or finds a SqlScriptType from its string representation.

static Collection<SqlScriptType> values()

Gets known SqlScriptType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

SQL_QUERY

public static final SqlScriptType SQL_QUERY

Static value SqlQuery for SqlScriptType.

Constructor Details

SqlScriptType

@Deprecated
public SqlScriptType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SqlScriptType value.

Method Details

fromString

public static SqlScriptType fromString(String name)

Creates or finds a SqlScriptType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding SqlScriptType.

values

public static Collection<SqlScriptType> values()

Gets known SqlScriptType values.

Returns:

known SqlScriptType values.

Applies to