Class PipelineMavenPluginPostgreSqlDao
java.lang.Object
org.jenkinsci.plugins.pipeline.maven.db.AbstractPipelineMavenPluginDao
org.jenkinsci.plugins.pipeline.maven.db.PipelineMavenPluginPostgreSqlDao
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.jenkinsci.plugins.pipeline.maven.dao.PipelineMavenPluginDao
- Author:
- Cyrille Le Clerc
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jenkinsci.plugins.pipeline.maven.dao.PipelineMavenPluginDao
org.jenkinsci.plugins.pipeline.maven.dao.PipelineMavenPluginDao.Builder
-
Field Summary
Fields inherited from class org.jenkinsci.plugins.pipeline.maven.db.AbstractPipelineMavenPluginDao
LOGGER
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionprotected String
protected Long
getGeneratedPrimaryKey
(PreparedStatement stmt, String column) boolean
protected void
Methods inherited from class org.jenkinsci.plugins.pipeline.maven.db.AbstractPipelineMavenPluginDao
acceptNoCredentials, cleanup, close, deleteBuild, deleteJob, getBuilder, getDataSource, getGeneratedArtifacts, getJenkinsDetails, getJenkinsMasterPrimaryKey, getOrCreateArtifactPrimaryKey, getOrCreateBuildPrimaryKey, getSchemaVersion, handleDatabaseInitialisationException, initializeDatabase, listDependencies, listDownstreamJobs, listDownstreamJobs, listDownstreamJobsByArtifact, listDownstreamJobsByArtifactBasedOnMavenDependencies, listDownstreamJobsByArtifactBasedOnParentProjectDependencies, listDownstreamPipelinesBasedOnMavenDependencies, listDownstreamPipelinesBasedOnMavenDependencies, listDownstreamPipelinesBasedOnParentProjectDependencies, listTransitiveUpstreamJobs, listTransitiveUpstreamJobs, listUpstreamJobs, listUpstreamPipelinesBasedOnMavenDependencies, listUpstreamPipelinesBasedOnParentProjectDependencies, recordBuildUpstreamCause, recordDependency, recordGeneratedArtifact, recordParentProject, renameJob, testDatabase, toPrettyString, updateBuildOnCompletion
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jenkinsci.plugins.pipeline.maven.dao.PipelineMavenPluginDao
getDefaultJdbcUrl, listDownstreamJobs
-
Constructor Details
-
PipelineMavenPluginPostgreSqlDao
public PipelineMavenPluginPostgreSqlDao() -
PipelineMavenPluginPostgreSqlDao
-
-
Method Details
-
getDescription
-
getJdbcScheme
- Specified by:
getJdbcScheme
in classAbstractPipelineMavenPluginDao
- Returns:
- "h2", "mysql"...
-
registerJdbcDriver
protected void registerJdbcDriver()- Specified by:
registerJdbcDriver
in classAbstractPipelineMavenPluginDao
-
getDatabaseDescription
- Overrides:
getDatabaseDescription
in classAbstractPipelineMavenPluginDao
-
getGeneratedPrimaryKey
- Overrides:
getGeneratedPrimaryKey
in classAbstractPipelineMavenPluginDao
- Throws:
SQLException
-
isEnoughProductionGradeForTheWorkload
public boolean isEnoughProductionGradeForTheWorkload()
-