Package com.checkmarx.jenkins
Class CheckmarxScanBuilder.CheckmarxScanBuilderDescriptor
java.lang.Object
hudson.model.Descriptor<Builder>
hudson.tasks.BuildStepDescriptor<Builder>
com.checkmarx.jenkins.CheckmarxScanBuilder.CheckmarxScanBuilderDescriptor
- Enclosing class:
CheckmarxScanBuilder
@Symbol("checkmarxASTScanner")
@Extension
public static class CheckmarxScanBuilder.CheckmarxScanBuilderDescriptor
extends BuildStepDescriptor<Builder>
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self -
Field Summary
Fields inherited from class hudson.model.Descriptor
clazz -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanconfigure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) doCheckBranchName(String value) doCheckCredentialsId(Item item, String value) doCheckProjectName(String value) doCheckServerUrl(String value) doFillCredentialsIdItems(Item item, String credentialsId) doTestConnection(String serverUrl, boolean useAuthenticationUrl, String baseAuthUrl, String tenantName, String credentialsId, String checkmarxInstallation, Item item, Job job) @NonNull StringbooleanbooleanbooleanisApplicable(Class<? extends AbstractProject> aClass) voidsetAdditionalOptions(String additionalOptions) voidsetBaseAuthUrl(String baseAuthUrl) voidsetCheckmarxInstallation(String checkmarxInstallation) voidsetCredentialsId(String credentialsId) voidsetInstallations(CheckmarxInstallation... installations) voidsetServerUrl(String serverUrl) voidsetTenantName(String tenantName) voidsetUseAuthenticationUrl(boolean useAuthenticationUrl) Methods inherited from class hudson.tasks.BuildStepDescriptor
filterMethods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
CheckmarxScanBuilderDescriptor
public CheckmarxScanBuilderDescriptor()
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayNamein classDescriptor<Builder>
-
isApplicable
- Specified by:
isApplicablein classBuildStepDescriptor<Builder>
-
getInstallations
-
setInstallations
-
getServerUrl
-
setServerUrl
-
getBaseAuthUrl
-
setBaseAuthUrl
-
getUseAuthenticationUrl
public boolean getUseAuthenticationUrl() -
setUseAuthenticationUrl
public void setUseAuthenticationUrl(boolean useAuthenticationUrl) -
getTenantName
-
setTenantName
-
getCredentialsId
-
setCredentialsId
-
getAdditionalOptions
-
setAdditionalOptions
-
getCheckmarxInstallation
-
setCheckmarxInstallation
-
hasInstallationsAvailable
public boolean hasInstallationsAvailable() -
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) - Overrides:
configurein classDescriptor<Builder>
-
doCheckServerUrl
-
doTestConnection
@POST public FormValidation doTestConnection(@QueryParameter String serverUrl, @QueryParameter boolean useAuthenticationUrl, @QueryParameter String baseAuthUrl, @QueryParameter String tenantName, @QueryParameter String credentialsId, @QueryParameter String checkmarxInstallation, @AncestorInPath Item item, @AncestorInPath Job job) -
doCheckProjectName
-
doCheckBranchName
-
doFillCredentialsIdItems
public ListBoxModel doFillCredentialsIdItems(@AncestorInPath Item item, @QueryParameter String credentialsId) -
doCheckCredentialsId
-
getCredentialsDescription
-