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 FormValidationdoCheckBsiToken(String bsiToken, String releaseId)FormValidationdoCheckReleaseId(String releaseId, String bsiToken)ListBoxModeldoFillEntitlementPreferenceItems()ListBoxModeldoFillInProgressBuildResultTypeItems()ListBoxModeldoFillInProgressScanActionTypeItems()ListBoxModeldoFillPersonalAccessTokenItems(Job job)ListBoxModeldoFillRemediationScanPreferenceTypeItems()ListBoxModeldoFillSelectedReleaseTypeItems()ListBoxModeldoFillSelectedScanCentralBuildTypeItems()ListBoxModeldoFillTenantIdItems(Job job)ListBoxModeldoFillUsernameItems(Job job)FormValidationdoTestPersonalAccessTokenConnection(String username, String personalAccessToken, String tenantId, Job job)StringgetDisplayName()StringgetReleaseEntitlementSettings(int selectedReleaseId, net.sf.json.JSONObject authModelObject)booleanisApplicable(Class<? extends AbstractProject> aClass)StringretrieveApplicationById(int applicationId, net.sf.json.JSONObject authModelObject)StringretrieveApplicationList(String searchTerm, int offset, int limit, net.sf.json.JSONObject authModelObject)StringretrieveAssessmentTypeEntitlements(Integer releaseId, net.sf.json.JSONObject authModelObject)StringretrieveAuditPreferences(Integer releaseId, Integer assessmentType, Integer frequencyType, net.sf.json.JSONObject authModelObject)StringretrieveCurrentUserSession(net.sf.json.JSONObject authModelObject)StringretrieveLookupItems(String type, net.sf.json.JSONObject authModelObject)StringretrieveMicroserviceList(int selectedApplicationId, net.sf.json.JSONObject authModelObject)StringretrieveReleaseById(int releaseId, net.sf.json.JSONObject authModelObject)StringretrieveReleaseList(int selectedApplicationId, int microserviceId, String searchTerm, int offset, int limit, net.sf.json.JSONObject authModelObject)StringretrieveStaticScanSettings(Integer releaseId, net.sf.json.JSONObject authModelObject)StringsubmitCreateApplication(net.sf.json.JSONObject formObject, net.sf.json.JSONObject authModelObject)StringsubmitCreateMicroservice(net.sf.json.JSONObject formObject, net.sf.json.JSONObject authModelObject)StringsubmitCreateRelease(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:
isApplicablein 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:
getDisplayNamein 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)
-
-