Overview | Package | Class | Deprecated | Index | Help
| Groovy Documentation
| FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD

## org.gradle.api.plugins.sonar.model
[Groovy] Class SonarDatabase

    java.lang.Object
      org.gradle.api.plugins.sonar.model.SonarDatabase

    class SonarDatabase
    extends java.lang.Object

Configuration options for the Sonar database. Defaults match the defaults for a locally running server (with embedded database).

Property Summary
`java.lang.String` | `driverClassName` The name of the JDBC driver class.
`java.lang.String` | `password` The JDBC password for the Sonar database.
`java.lang.String` | `url` The JDBC URL for the Sonar database.
`java.lang.String` | `username` The JDBC username for the Sonar database.

Method Summary

Methods inherited from class java.lang.Object
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()

Property Detail

### driverClassName

    @SonarProperty("sonar.jdbc.driverClassName")
    java.lang.String driverClassName

  The name of the JDBC driver class. Defaults to `org.apache.derby.jdbc.ClientDriver`.

### password

    @SonarProperty("sonar.jdbc.password")
    java.lang.String password

  The JDBC password for the Sonar database. Defaults to `sonar`.

### url

    @SonarProperty("sonar.jdbc.url")
    java.lang.String url

  The JDBC URL for the Sonar database. Defaults to `jdbc:derby://localhost:1527/sonar`.

### username

    @SonarProperty("sonar.jdbc.username")
    java.lang.String username

  The JDBC username for the Sonar database. Defaults to `sonar`.

Groovy Documentation