Class JdbcConfiguration
java.lang.Object
com.atlassian.crowd.importer.config.Configuration
com.atlassian.crowd.importer.config.JdbcConfiguration
- All Implemented Interfaces:
Serializable
This class represents the properties required to connect with a database,
specifically the details for a JIRA, Confluence or Bamboo database.
- See Also:
-
Field Summary
Fields inherited from class com.atlassian.crowd.importer.config.Configuration
overwriteTarget
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
void
isValid()
Will make sure that all required properties have been set on the Configuration object to perform an import.void
setDatabaseDriver
(String databaseDriver) void
setDatabaseURL
(String databaseURL) void
setPassword
(String password) void
setSourceDirectoryID
(Long sourceDirectoryID) void
setUsername
(String username) Methods inherited from class com.atlassian.crowd.importer.config.Configuration
getApplication, getDirectoryID, getImportNestedGroups, isImportPasswords, isOverwriteTarget, setApplication, setDirectoryID, setImportNestedGroups, setImportPasswords, setOverwriteTarget, toString
-
Constructor Details
-
JdbcConfiguration
-
-
Method Details
-
getSourceDirectoryID
-
setSourceDirectoryID
-
isValid
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 classConfiguration
- Throws:
ImporterConfigurationException
- if there is a problem validating the configuration
-
getDatabaseURL
-
setDatabaseURL
-
getDatabaseDriver
-
setDatabaseDriver
-
getUsername
-
setUsername
-
getPassword
-
setPassword
-
equals
- Overrides:
equals
in classConfiguration
-
hashCode
public int hashCode()- Overrides:
hashCode
in classConfiguration
-