com.atlassian.jira.configurator.db
Interface ConnectionConfig

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

public interface ConnectionConfig


Method Summary
 java.lang.String getClassName()
           
 java.lang.String getPassword()
           
 java.lang.String getUrl()
           
 java.lang.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 java.lang.ClassNotFoundException,
                           java.sql.SQLException,
                           ValidationException
Throws:
java.lang.ClassNotFoundException
java.sql.SQLException
ValidationException

getUsername

java.lang.String getUsername()

getPassword

java.lang.String getPassword()

getUrl

java.lang.String getUrl()
                        throws ValidationException
Throws:
ValidationException

getClassName

java.lang.String getClassName()


Copyright © 2002-2011 Atlassian. All Rights Reserved.