@Symbol(value="codescene")
@Extension
public static final class CodeSceneBuilder.DescriptorImpl
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>
| Constructor and Description |
|---|
DescriptorImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest staplerRequest,
net.sf.json.JSONObject json) |
hudson.util.FormValidation |
doCheckBaseRevision(boolean analyzeBranchDiff,
String baseRevision) |
hudson.util.FormValidation |
doCheckCouplingThresholdPercent(int couplingThresholdPercent) |
hudson.util.FormValidation |
doCheckCredentialsId(String credentialsId) |
hudson.util.FormValidation |
doCheckDeltaAnalysisUrl(String deltaAnalysisUrl) |
hudson.util.FormValidation |
doCheckRepository(String repository) |
hudson.util.FormValidation |
doCheckRiskThreshold(int riskThreshold,
boolean markBuildAsUnstable) |
hudson.util.ListBoxModel |
doFillCredentialsIdItems(jenkins.model.Jenkins context,
String credentialsId)
Populates the list of credentials in the select box in CodeScene API configuration section
Inspired by git plugin:
https://github.com/jenkinsci/git-plugin/blob/f58648e9005293ab07b2389212603ff9a460b80a/src/main/java/jenkins/plugins/git/GitSCMSource.java#L239
|
String |
getDisplayName()
This human readable name is used in the configuration screen.
|
boolean |
isApplicable(Class type)
Applicable to any kind of project.
|
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMappublic String getDisplayName()
getDisplayName in class hudson.model.Descriptor<hudson.tasks.Builder>public boolean isApplicable(Class type)
isApplicable in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>public boolean configure(org.kohsuke.stapler.StaplerRequest staplerRequest,
net.sf.json.JSONObject json)
configure in class hudson.model.Descriptor<hudson.tasks.Builder>public hudson.util.FormValidation doCheckBaseRevision(@QueryParameter
boolean analyzeBranchDiff,
@QueryParameter
String baseRevision)
public hudson.util.FormValidation doCheckRiskThreshold(@QueryParameter
int riskThreshold,
@QueryParameter
boolean markBuildAsUnstable)
public hudson.util.FormValidation doCheckCredentialsId(@QueryParameter
String credentialsId)
public hudson.util.FormValidation doCheckDeltaAnalysisUrl(@QueryParameter
String deltaAnalysisUrl)
public hudson.util.FormValidation doCheckRepository(@QueryParameter
String repository)
public hudson.util.FormValidation doCheckCouplingThresholdPercent(@QueryParameter
int couplingThresholdPercent)
public hudson.util.ListBoxModel doFillCredentialsIdItems(@AncestorInPath
jenkins.model.Jenkins context,
@QueryParameter
String credentialsId)
Copyright © 2016–2025. All rights reserved.