# Uses of Enum
org.springframework.cloud.task.repository.support.DatabaseType

Packages that use DatabaseType
Package
Description
org.springframework.cloud.task.repository.support
Classes used for setting up and supporting a task repositories.

- ## Uses of DatabaseType in org.springframework.cloud.task.repository.support

  Methods in org.springframework.cloud.task.repository.support that return DatabaseType
  Modifier and Type
  Method
  Description
  `static DatabaseType`
  DatabaseType.`fromMetaData(DataSource dataSource)`
  Convenience method that pulls a database product name from the DataSource's metadata.
  `static DatabaseType`
  DatabaseType.`fromProductName(String productName)`
  Static method to obtain a DatabaseType from the provided product name.
  `static DatabaseType`
  DatabaseType.`valueOf(String name)`
  Returns the enum constant of this type with the specified name.
  `static DatabaseType[]`
  DatabaseType.`values()`
  Returns an array containing the constants of this enum type, in the order they are declared.