Class DatabaseTestResultStorage.ConnectionSupplier
java.lang.Object
io.jenkins.plugins.junit.storage.database.DatabaseTestResultStorage.ConnectionSupplier
- All Implemented Interfaces:
AutoCloseable
- Enclosing class:
- DatabaseTestResultStorage
public abstract static class DatabaseTestResultStorage.ConnectionSupplier
extends Object
implements AutoCloseable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected abstract org.jenkinsci.plugins.database.Databasedatabase()protected voidinitialize(Connection connection)
-
Constructor Details
-
ConnectionSupplier
public ConnectionSupplier()
-
-
Method Details
-
database
protected abstract org.jenkinsci.plugins.database.Database database() -
initialize
- Throws:
SQLException
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-