com.atlassian.jira.configurator.db
Class HsqlConfigConsole

java.lang.Object
  extended by com.atlassian.jira.configurator.db.HsqlConfigConsole
All Implemented Interfaces:
ConnectionConfig, DatabaseConfigConsole

public class HsqlConfigConsole
extends Object
implements DatabaseConfigConsole


Constructor Summary
HsqlConfigConsole()
           
 
Method Summary
 String getClassName()
           
 String getDatabaseType()
           
 ConfigField[] getFields()
           
 String getInstanceName()
           
 String getPassword()
           
 String getUrl()
           
 String getUsername()
           
 void saveSettings(Settings newSettings)
          Saves the settings in this ConnectionConfig into the given Settings object.
 void setSettings(Settings settings)
           
 void testConnection()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HsqlConfigConsole

public HsqlConfigConsole()
Method Detail

getDatabaseType

public String getDatabaseType()
Specified by:
getDatabaseType in interface DatabaseConfigConsole

getClassName

public String getClassName()
Specified by:
getClassName in interface ConnectionConfig

getUsername

public String getUsername()
Specified by:
getUsername in interface ConnectionConfig

getPassword

public String getPassword()
Specified by:
getPassword in interface ConnectionConfig

getFields

public ConfigField[] getFields()
Specified by:
getFields in interface DatabaseConfigConsole

setSettings

public void setSettings(Settings settings)
                 throws ParseException
Specified by:
setSettings in interface DatabaseConfigConsole
Throws:
ParseException

getInstanceName

public String getInstanceName()
Specified by:
getInstanceName in interface DatabaseConfigConsole

saveSettings

public void saveSettings(Settings newSettings)
                  throws ValidationException
Description copied from interface: ConnectionConfig
Saves the settings in this ConnectionConfig into the given Settings object.

Specified by:
saveSettings in interface ConnectionConfig
Parameters:
newSettings - Settings object to copy the settings into.
Throws:
ValidationException

testConnection

public void testConnection()
Specified by:
testConnection in interface ConnectionConfig

getUrl

public String getUrl()
Specified by:
getUrl in interface ConnectionConfig


Copyright © 2002-2014 Atlassian. All Rights Reserved.