Class PerItemH2Database
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.database.PerItemDatabase>
-
- org.jenkinsci.plugins.database.PerItemDatabase
-
- org.jenkinsci.plugins.database.h2.PerItemH2Database
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<org.jenkinsci.plugins.database.PerItemDatabase>
public class PerItemH2Database extends org.jenkinsci.plugins.database.PerItemDatabase
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PerItemH2Database.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description PerItemH2Database(boolean autoServer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getAutoServer()
DataSource
getDataSource(TopLevelItem item)
static void
setDefaultPerItemDatabase()
-
-
-
Method Detail
-
getDataSource
public DataSource getDataSource(TopLevelItem item) throws SQLException
- Specified by:
getDataSource
in classorg.jenkinsci.plugins.database.PerItemDatabase
- Throws:
SQLException
-
getAutoServer
public boolean getAutoServer()
-
setDefaultPerItemDatabase
@Initializer(after=PLUGINS_STARTED) public static void setDefaultPerItemDatabase()
-
-