com.cisco.step.jenkins.plugins.jenkow
Class H2DemoDatabase

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.database.Database>
      extended by org.jenkinsci.plugins.database.Database
          extended by com.cisco.step.jenkins.plugins.jenkow.H2DemoDatabase
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<org.jenkinsci.plugins.database.Database>

public class H2DemoDatabase
extends org.jenkinsci.plugins.database.Database

Dummy Database instance that indicates we'll use

Author:
Kohsuke Kawaguchi

Nested Class Summary
static class H2DemoDatabase.DescriptorImpl
           
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
H2DemoDatabase()
           
 
Method Summary
 DataSource getDataSource()
           
 org.jenkinsci.plugins.database.DatabaseDescriptor getDescriptor()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

H2DemoDatabase

@DataBoundConstructor
public H2DemoDatabase()
Method Detail

getDataSource

public DataSource getDataSource()
                         throws SQLException
Specified by:
getDataSource in class org.jenkinsci.plugins.database.Database
Throws:
SQLException

getDescriptor

public org.jenkinsci.plugins.database.DatabaseDescriptor getDescriptor()
Specified by:
getDescriptor in interface hudson.model.Describable<org.jenkinsci.plugins.database.Database>
Overrides:
getDescriptor in class org.jenkinsci.plugins.database.Database


Copyright © 2004-2013. All Rights Reserved.