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
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringprotected LonggetGeneratedPrimaryKey(PreparedStatement stmt, String column) booleanprotected voidMethods 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, updateBuildOnCompletionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jenkinsci.plugins.pipeline.maven.dao.PipelineMavenPluginDao
getDefaultJdbcUrl, listDownstreamJobs
-
Constructor Details
-
PipelineMavenPluginPostgreSqlDao
public PipelineMavenPluginPostgreSqlDao() -
PipelineMavenPluginPostgreSqlDao
-
-
Method Details
-
getDescription
-
getJdbcScheme
- Specified by:
getJdbcSchemein classAbstractPipelineMavenPluginDao- Returns:
- "h2", "mysql"...
-
registerJdbcDriver
protected void registerJdbcDriver()- Specified by:
registerJdbcDriverin classAbstractPipelineMavenPluginDao
-
getDatabaseDescription
- Overrides:
getDatabaseDescriptionin classAbstractPipelineMavenPluginDao
-
getGeneratedPrimaryKey
- Overrides:
getGeneratedPrimaryKeyin classAbstractPipelineMavenPluginDao- Throws:
SQLException
-
isEnoughProductionGradeForTheWorkload
public boolean isEnoughProductionGradeForTheWorkload()
-