public abstract class PerItemDatabase extends hudson.model.AbstractDescribableImpl<PerItemDatabase> implements hudson.ExtensionPoint
Database but assumes that there is a separate database per item.
Typically would be implemented by an embeddable database capable of loading from the root directory.
It is recommended, but not required, that implementations have a no-argument DataBoundConstructor,
which permits them to be configured by default merely by installing a plugin.| Constructor and Description |
|---|
PerItemDatabase() |
| Modifier and Type | Method and Description |
|---|---|
abstract DataSource |
getDataSource(hudson.model.TopLevelItem item)
Loads the database for an item.
|
PerItemDatabaseDescriptor |
getDescriptor() |
public abstract DataSource getDataSource(hudson.model.TopLevelItem item) throws SQLException
item - a job, folder, etc.SQLException - in case it is impossible to connect to the databasepublic PerItemDatabaseDescriptor getDescriptor()
getDescriptor in interface hudson.model.Describable<PerItemDatabase>getDescriptor in class hudson.model.AbstractDescribableImpl<PerItemDatabase>Copyright © 2004-2013. All Rights Reserved.