com.atlassian.jira.configurator.db
Class AbstractConnectionConfig

java.lang.Object
  extended by com.atlassian.jira.configurator.db.AbstractConnectionConfig
All Implemented Interfaces:
ConnectionConfig
Direct Known Subclasses:
DatabaseConfigConsoleImpl

public abstract class AbstractConnectionConfig
extends Object
implements ConnectionConfig


Constructor Summary
AbstractConnectionConfig()
           
 
Method Summary
 void saveSettings(Settings newSettings)
          Apply the current user entered settings into the given Settings object.
 void testConnection()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.configurator.db.ConnectionConfig
getClassName, getPassword, getUrl, getUsername
 

Constructor Detail

AbstractConnectionConfig

public AbstractConnectionConfig()
Method Detail

saveSettings

public void saveSettings(Settings newSettings)
                  throws ValidationException
Apply the current user entered settings into the given Settings object.

Specified by:
saveSettings in interface ConnectionConfig
Parameters:
newSettings - The Settings object to set the values in.
Throws:
ValidationException

testConnection

public void testConnection()
                    throws ClassNotFoundException,
                           SQLException,
                           ValidationException
Specified by:
testConnection in interface ConnectionConfig
Throws:
ClassNotFoundException
SQLException
ValidationException


Copyright © 2002-2013 Atlassian. All Rights Reserved.