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,Loadable,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.SelfNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class hudson.model.Descriptor
clazz -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanconfigure(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject json) doValidateJdbcConnection(String jdbcUrl, String properties, String jdbcCredentialsId, String daoClass) static GlobalPipelineMavenConfigget()org.jenkinsci.plugins.pipeline.maven.dao.PipelineMavenPluginDaogetDao()List<org.jenkinsci.plugins.pipeline.maven.dao.PipelineMavenPluginDao>booleanbooleanbooleanbooleanbooleanbooleanvoidsetDaoClass(String daoClass) voidsetGlobalTraceability(boolean globalTraceability) voidsetJdbcCredentialsId(String jdbcCredentialsId) voidsetJdbcUrl(String jdbcUrl) voidsetProperties(String properties) voidsetPublisherOptions(List<MavenPublisher> publisherOptions) voidsetTriggerDownstreamUponResultAborted(boolean triggerDownstreamUponResultAborted) voidsetTriggerDownstreamUponResultFailure(boolean triggerDownstreamUponResultFailure) voidsetTriggerDownstreamUponResultNotBuilt(boolean triggerDownstreamUponResultNotBuilt) voidsetTriggerDownstreamUponResultSuccess(boolean triggerDownstreamUponResultSuccess) voidsetTriggerDownstreamUponResultUnstable(boolean triggerDownstreamUponResultUnstable) Methods inherited from class jenkins.model.GlobalConfiguration
all, configure, getDescriptor, getGlobalConfigPageMethods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, 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, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, 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:
getCategoryin 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.StaplerRequest2 req, net.sf.json.JSONObject json) throws Descriptor.FormException - Overrides:
configurein 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
-