com.atlassian.jira.configurator.db
Interface ConnectionConfig

All Known Subinterfaces:
DatabaseConfigConsole
All Known Implementing Classes:
AbstractConnectionConfig, DatabaseConfigConsoleImpl, HsqlDatabaseConfig

public interface ConnectionConfig


Method Summary
 String getClassName()
           
 String getPassword()
           
 String getUrl()
           
 String getUsername()
           
 void saveSettings(Settings newSettings)
          Saves the settings in this ConnectionConfig into the given Settings object.
 void testConnection()
           
 

Method Detail

saveSettings

void saveSettings(Settings newSettings)
                  throws ValidationException
Saves the settings in this ConnectionConfig into the given Settings object.

Parameters:
newSettings - Settings object to copy the settings into.
Throws:
ValidationException

testConnection

void testConnection()
                    throws ClassNotFoundException,
                           SQLException,
                           ValidationException
Throws:
ClassNotFoundException
SQLException
ValidationException

getUsername

String getUsername()

getPassword

String getPassword()

getUrl

String getUrl()
              throws ValidationException
Throws:
ValidationException

getClassName

String getClassName()


Copyright © 2002-2014 Atlassian. All Rights Reserved.