Class JdbcConfiguration

java.lang.Object
com.atlassian.crowd.importer.config.Configuration
com.atlassian.crowd.importer.config.JdbcConfiguration
All Implemented Interfaces:
Serializable

public class JdbcConfiguration extends Configuration implements Serializable
This class represents the properties required to connect with a database, specifically the details for a JIRA, Confluence or Bamboo database.
See Also:
  • Constructor Details

    • JdbcConfiguration

      public JdbcConfiguration(Long directoryID, String application, boolean importPasswords, String databaseURL, String databaseDriver, String username, String password)
  • Method Details

    • getSourceDirectoryID

      public Long getSourceDirectoryID()
    • setSourceDirectoryID

      public void setSourceDirectoryID(Long sourceDirectoryID)
    • isValid

      public void isValid() throws ImporterConfigurationException
      Description copied from class: Configuration
      Will make sure that all required properties have been set on the Configuration object to perform an import. Override this method if you require specific validation of your Configuration
      Overrides:
      isValid in class Configuration
      Throws:
      ImporterConfigurationException - if there is a problem validating the configuration
    • getDatabaseURL

      public String getDatabaseURL()
    • setDatabaseURL

      public void setDatabaseURL(String databaseURL)
    • getDatabaseDriver

      public String getDatabaseDriver()
    • setDatabaseDriver

      public void setDatabaseDriver(String databaseDriver)
    • getUsername

      public String getUsername()
    • setUsername

      public void setUsername(String username)
    • getPassword

      public String getPassword()
    • setPassword

      public void setPassword(String password)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Configuration
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Configuration