Package com.checkmarx.jenkins
Class CheckmarxScanBuilder.CheckmarxScanBuilderDescriptor
- java.lang.Object
-
- hudson.model.Descriptor<T>
-
- 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 Constructor Description CheckmarxScanBuilderDescriptor()
-
Method Summary
-
Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
-
Methods 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
-
-
-
-
Method Detail
-
getDisplayName
@NonNull public @NonNull String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<Builder>
-
isApplicable
public boolean isApplicable(Class<? extends AbstractProject> aClass)
- Specified by:
isApplicable
in classBuildStepDescriptor<Builder>
-
getInstallations
public CheckmarxInstallation[] getInstallations()
-
setInstallations
public void setInstallations(CheckmarxInstallation... installations)
-
getServerUrl
@Nullable public String getServerUrl()
-
setServerUrl
public void setServerUrl(@Nullable String serverUrl)
-
getBaseAuthUrl
public String getBaseAuthUrl()
-
setBaseAuthUrl
public void setBaseAuthUrl(@Nullable String baseAuthUrl)
-
getUseAuthenticationUrl
public boolean getUseAuthenticationUrl()
-
setUseAuthenticationUrl
public void setUseAuthenticationUrl(boolean useAuthenticationUrl)
-
getTenantName
public String getTenantName()
-
setTenantName
public void setTenantName(@Nullable String tenantName)
-
getCredentialsId
public String getCredentialsId()
-
setCredentialsId
public void setCredentialsId(String credentialsId)
-
getAdditionalOptions
@Nullable public String getAdditionalOptions()
-
setAdditionalOptions
public void setAdditionalOptions(@Nullable String additionalOptions)
-
getCheckmarxInstallation
public String getCheckmarxInstallation()
-
setCheckmarxInstallation
public void setCheckmarxInstallation(String checkmarxInstallation)
-
hasInstallationsAvailable
public boolean hasInstallationsAvailable()
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
- Overrides:
configure
in classDescriptor<Builder>
-
doCheckServerUrl
@POST public FormValidation doCheckServerUrl(@QueryParameter String value)
-
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
public FormValidation doCheckProjectName(@QueryParameter String value)
-
doCheckBranchName
public FormValidation doCheckBranchName(@QueryParameter String value)
-
doFillCredentialsIdItems
public ListBoxModel doFillCredentialsIdItems(@AncestorInPath Item item, @QueryParameter String credentialsId)
-
doCheckCredentialsId
public FormValidation doCheckCredentialsId(@AncestorInPath Item item, @QueryParameter String value)
-
getCredentialsDescription
public String getCredentialsDescription()
-
-