Class GlobalPipelineMavenConfig
java.lang.Object
hudson.model.Descriptor<GlobalConfiguration>
jenkins.model.GlobalConfiguration
org.jenkinsci.plugins.pipeline.maven.GlobalPipelineMavenConfig
- All Implemented Interfaces:
ExtensionPoint
,Describable<GlobalConfiguration>
,Saveable
,OnMaster
@Extension(ordinal=50.0)
@Symbol("pipelineMaven")
public class GlobalPipelineMavenConfig
extends GlobalConfiguration
- Author:
- Cyrille Le Clerc
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from class hudson.model.Descriptor
clazz
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
configure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) doValidateJdbcConnection
(String jdbcUrl, String properties, String jdbcCredentialsId, String daoClass) static GlobalPipelineMavenConfig
get()
org.jenkinsci.plugins.pipeline.maven.dao.PipelineMavenPluginDao
getDao()
List<org.jenkinsci.plugins.pipeline.maven.dao.PipelineMavenPluginDao>
boolean
boolean
boolean
boolean
boolean
boolean
void
setDaoClass
(String daoClass) void
setGlobalTraceability
(boolean globalTraceability) void
setJdbcCredentialsId
(String jdbcCredentialsId) void
setJdbcUrl
(String jdbcUrl) void
setProperties
(String properties) void
setPublisherOptions
(List<MavenPublisher> publisherOptions) void
setTriggerDownstreamUponResultAborted
(boolean triggerDownstreamUponResultAborted) void
setTriggerDownstreamUponResultFailure
(boolean triggerDownstreamUponResultFailure) void
setTriggerDownstreamUponResultNotBuilt
(boolean triggerDownstreamUponResultNotBuilt) void
setTriggerDownstreamUponResultSuccess
(boolean triggerDownstreamUponResultSuccess) void
setTriggerDownstreamUponResultUnstable
(boolean triggerDownstreamUponResultUnstable) Methods inherited from class jenkins.model.GlobalConfiguration
all, getDescriptor, getGlobalConfigPage
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
GlobalPipelineMavenConfig
@DataBoundConstructor public GlobalPipelineMavenConfig()
-
-
Method Details
-
getPipelineMavenPluginDaos
public List<org.jenkinsci.plugins.pipeline.maven.dao.PipelineMavenPluginDao> getPipelineMavenPluginDaos() -
getDaoClass
-
setDaoClass
-
getCategory
- Overrides:
getCategory
in classDescriptor<GlobalConfiguration>
-
getPublisherOptions
-
setPublisherOptions
-
isGlobalTraceability
public boolean isGlobalTraceability() -
setGlobalTraceability
@DataBoundSetter public void setGlobalTraceability(boolean globalTraceability) -
isTriggerDownstreamUponResultSuccess
public boolean isTriggerDownstreamUponResultSuccess() -
setTriggerDownstreamUponResultSuccess
@DataBoundSetter public void setTriggerDownstreamUponResultSuccess(boolean triggerDownstreamUponResultSuccess) -
isTriggerDownstreamUponResultUnstable
public boolean isTriggerDownstreamUponResultUnstable() -
setTriggerDownstreamUponResultUnstable
@DataBoundSetter public void setTriggerDownstreamUponResultUnstable(boolean triggerDownstreamUponResultUnstable) -
isTriggerDownstreamUponResultFailure
public boolean isTriggerDownstreamUponResultFailure() -
setTriggerDownstreamUponResultFailure
@DataBoundSetter public void setTriggerDownstreamUponResultFailure(boolean triggerDownstreamUponResultFailure) -
isTriggerDownstreamUponResultNotBuilt
public boolean isTriggerDownstreamUponResultNotBuilt() -
setTriggerDownstreamUponResultNotBuilt
@DataBoundSetter public void setTriggerDownstreamUponResultNotBuilt(boolean triggerDownstreamUponResultNotBuilt) -
isTriggerDownstreamUponResultAborted
public boolean isTriggerDownstreamUponResultAborted() -
setTriggerDownstreamUponResultAborted
@DataBoundSetter public void setTriggerDownstreamUponResultAborted(boolean triggerDownstreamUponResultAborted) -
getJdbcUrl
-
setJdbcUrl
-
getJdbcCredentialsId
-
getProperties
-
setProperties
-
setJdbcCredentialsId
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) throws Descriptor.FormException - Overrides:
configure
in classGlobalConfiguration
- Throws:
Descriptor.FormException
-
getDaoPrettyString
-
getDao
@NonNull public org.jenkinsci.plugins.pipeline.maven.dao.PipelineMavenPluginDao getDao() -
getPipelineTriggerService
-
getTriggerDownstreamBuildsResultsCriteria
-
get
-
doFillJdbcCredentialsIdItems
-
doValidateJdbcConnection
@POST public FormValidation doValidateJdbcConnection(@QueryParameter String jdbcUrl, @QueryParameter String properties, @QueryParameter String jdbcCredentialsId, @QueryParameter String daoClass) -
closeDatasource
-