Package org.jenkinsci.plugins.fodupload
Class StaticAssessmentBuildStep.StaticAssessmentStepDescriptor
- java.lang.Object
-
- hudson.model.Descriptor<T>
-
- hudson.tasks.BuildStepDescriptor<Publisher>
-
- org.jenkinsci.plugins.fodupload.StaticAssessmentBuildStep.StaticAssessmentStepDescriptor
-
- Enclosing class:
- StaticAssessmentBuildStep
@Extension public static final class StaticAssessmentBuildStep.StaticAssessmentStepDescriptor extends BuildStepDescriptor<Publisher>
-
-
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 StaticAssessmentStepDescriptor()
In order to load the persisted global configuration, you have to call load() in the constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidation
doCheckBsiToken(String bsiToken, String releaseId)
FormValidation
doCheckReleaseId(String releaseId, String bsiToken)
ListBoxModel
doFillEntitlementPreferenceItems()
ListBoxModel
doFillInProgressBuildResultTypeItems()
ListBoxModel
doFillInProgressScanActionTypeItems()
ListBoxModel
doFillPersonalAccessTokenItems(Job job)
ListBoxModel
doFillRemediationScanPreferenceTypeItems()
ListBoxModel
doFillSelectedReleaseTypeItems()
ListBoxModel
doFillSelectedScanCentralBuildTypeItems()
ListBoxModel
doFillTenantIdItems(Job job)
ListBoxModel
doFillUsernameItems(Job job)
FormValidation
doTestPersonalAccessTokenConnection(String username, String personalAccessToken, String tenantId, Job job)
String
getDisplayName()
String
getReleaseEntitlementSettings(int selectedReleaseId, net.sf.json.JSONObject authModelObject)
boolean
isApplicable(Class<? extends AbstractProject> aClass)
String
retrieveApplicationById(int applicationId, net.sf.json.JSONObject authModelObject)
String
retrieveApplicationList(String searchTerm, int offset, int limit, net.sf.json.JSONObject authModelObject)
String
retrieveAssessmentTypeEntitlements(Integer releaseId, net.sf.json.JSONObject authModelObject)
String
retrieveAuditPreferences(Integer releaseId, Integer assessmentType, Integer frequencyType, net.sf.json.JSONObject authModelObject)
String
retrieveCurrentUserSession(net.sf.json.JSONObject authModelObject)
String
retrieveLookupItems(String type, net.sf.json.JSONObject authModelObject)
String
retrieveMicroserviceList(int selectedApplicationId, net.sf.json.JSONObject authModelObject)
String
retrieveReleaseById(int releaseId, net.sf.json.JSONObject authModelObject)
String
retrieveReleaseList(int selectedApplicationId, int microserviceId, String searchTerm, int offset, int limit, net.sf.json.JSONObject authModelObject)
String
retrieveStaticScanSettings(Integer releaseId, net.sf.json.JSONObject authModelObject)
String
submitCreateApplication(net.sf.json.JSONObject formObject, net.sf.json.JSONObject authModelObject)
String
submitCreateMicroservice(net.sf.json.JSONObject formObject, net.sf.json.JSONObject authModelObject)
String
submitCreateRelease(net.sf.json.JSONObject formObject, net.sf.json.JSONObject authModelObject)
-
Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, 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, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
isApplicable
public boolean isApplicable(Class<? extends AbstractProject> aClass)
- Specified by:
isApplicable
in classBuildStepDescriptor<Publisher>
-
doCheckReleaseId
public FormValidation doCheckReleaseId(@QueryParameter String releaseId, @QueryParameter String bsiToken)
-
doCheckBsiToken
public FormValidation doCheckBsiToken(@QueryParameter String bsiToken, @QueryParameter String releaseId)
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<Publisher>
-
doTestPersonalAccessTokenConnection
@POST public FormValidation doTestPersonalAccessTokenConnection(@QueryParameter("username") String username, @QueryParameter("personalAccessToken") String personalAccessToken, @QueryParameter("tenantId") String tenantId, @AncestorInPath Job job) throws FormValidation
- Throws:
FormValidation
-
doFillEntitlementPreferenceItems
public ListBoxModel doFillEntitlementPreferenceItems()
-
doFillRemediationScanPreferenceTypeItems
public ListBoxModel doFillRemediationScanPreferenceTypeItems()
-
doFillUsernameItems
public ListBoxModel doFillUsernameItems(@AncestorInPath Job job)
-
doFillPersonalAccessTokenItems
public ListBoxModel doFillPersonalAccessTokenItems(@AncestorInPath Job job)
-
doFillTenantIdItems
public ListBoxModel doFillTenantIdItems(@AncestorInPath Job job)
-
doFillInProgressScanActionTypeItems
public ListBoxModel doFillInProgressScanActionTypeItems()
-
doFillInProgressBuildResultTypeItems
public ListBoxModel doFillInProgressBuildResultTypeItems()
-
doFillSelectedReleaseTypeItems
public ListBoxModel doFillSelectedReleaseTypeItems()
-
doFillSelectedScanCentralBuildTypeItems
public ListBoxModel doFillSelectedScanCentralBuildTypeItems()
-
submitCreateApplication
@JavaScriptMethod public String submitCreateApplication(net.sf.json.JSONObject formObject, net.sf.json.JSONObject authModelObject)
-
submitCreateMicroservice
@JavaScriptMethod public String submitCreateMicroservice(net.sf.json.JSONObject formObject, net.sf.json.JSONObject authModelObject)
-
submitCreateRelease
@JavaScriptMethod public String submitCreateRelease(net.sf.json.JSONObject formObject, net.sf.json.JSONObject authModelObject)
-
retrieveApplicationList
@JavaScriptMethod public String retrieveApplicationList(String searchTerm, int offset, int limit, net.sf.json.JSONObject authModelObject)
-
retrieveApplicationById
@JavaScriptMethod public String retrieveApplicationById(int applicationId, net.sf.json.JSONObject authModelObject)
-
retrieveMicroserviceList
@JavaScriptMethod public String retrieveMicroserviceList(int selectedApplicationId, net.sf.json.JSONObject authModelObject)
-
retrieveReleaseList
@JavaScriptMethod public String retrieveReleaseList(int selectedApplicationId, int microserviceId, String searchTerm, int offset, int limit, net.sf.json.JSONObject authModelObject)
-
retrieveReleaseById
@JavaScriptMethod public String retrieveReleaseById(int releaseId, net.sf.json.JSONObject authModelObject)
-
retrieveCurrentUserSession
@JavaScriptMethod public String retrieveCurrentUserSession(net.sf.json.JSONObject authModelObject)
-
retrieveAssessmentTypeEntitlements
@JavaScriptMethod public String retrieveAssessmentTypeEntitlements(Integer releaseId, net.sf.json.JSONObject authModelObject)
-
retrieveAuditPreferences
@JavaScriptMethod public String retrieveAuditPreferences(Integer releaseId, Integer assessmentType, Integer frequencyType, net.sf.json.JSONObject authModelObject)
-
retrieveLookupItems
@JavaScriptMethod public String retrieveLookupItems(String type, net.sf.json.JSONObject authModelObject)
-
retrieveStaticScanSettings
@JavaScriptMethod public String retrieveStaticScanSettings(Integer releaseId, net.sf.json.JSONObject authModelObject)
-
getReleaseEntitlementSettings
@JavaScriptMethod public String getReleaseEntitlementSettings(int selectedReleaseId, net.sf.json.JSONObject authModelObject)
-
-