Package org.jenkinsci.plugins.fodupload
Class FortifyDastFreeStyleBuildStep.FortifyDastFreeStyleBuilderDescriptor
- java.lang.Object
-
- hudson.model.Descriptor<T>
-
- hudson.tasks.BuildStepDescriptor<Publisher>
-
- org.jenkinsci.plugins.fodupload.FortifyDastFreeStyleBuildStep.FortifyDastFreeStyleBuilderDescriptor
-
- Enclosing class:
- FortifyDastFreeStyleBuildStep
@Extension public static final class FortifyDastFreeStyleBuildStep.FortifyDastFreeStyleBuilderDescriptor 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 FortifyDastFreeStyleBuilderDescriptor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Result<ApplicationApiResponse>
customFillUserApplicationById(int applicationId, AuthenticationModel authModel)
PatchDastFileUploadResponse
dastManifestFileUpload(String releaseId, net.sf.json.JSONObject authModelObject, String fileContent, String fileType, String fileName)
static ListBoxModel
doFillDastEnvItems()
ListBoxModel
doFillPersonalAccessTokenItems(Job job)
static ListBoxModel
doFillScanPolicyItems()
static ListBoxModel
doFillScanTypeItems()
ListBoxModel
doFillSelectedReleaseTypeItems()
FormValidation
doTestPersonalAccessTokenConnection(String username, String personalAccessToken, String tenantId, Job job)
String
getDisplayName()
boolean
isApplicable(Class<? extends AbstractProject> aClass)
String
retrieveApplicationList(String searchTerm, int offset, int limit, net.sf.json.JSONObject authModelObject)
String
retrieveAssessmentTypeEntitlements(Boolean isMicroservice, net.sf.json.JSONObject authModelObject)
String
retrieveCurrentUserSession(net.sf.json.JSONObject authModelObject)
String
retrieveDynamicScanSettings(Integer releaseId, net.sf.json.JSONObject authModelObject)
String
retrieveLookupItems(String type, 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
submitCreateApplication(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>
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<Publisher>
-
doFillSelectedReleaseTypeItems
public ListBoxModel doFillSelectedReleaseTypeItems()
-
doFillDastEnvItems
public static ListBoxModel doFillDastEnvItems()
-
doFillScanTypeItems
public static ListBoxModel doFillScanTypeItems()
-
doFillScanPolicyItems
public static ListBoxModel doFillScanPolicyItems()
-
customFillUserApplicationById
public static Result<ApplicationApiResponse> customFillUserApplicationById(int applicationId, AuthenticationModel authModel) throws IOException
- Throws:
IOException
-
dastManifestFileUpload
@JavaScriptMethod public PatchDastFileUploadResponse dastManifestFileUpload(String releaseId, net.sf.json.JSONObject authModelObject, String fileContent, String fileType, String fileName) throws FormValidation
- Throws:
FormValidation
-
retrieveLookupItems
@JavaScriptMethod public String retrieveLookupItems(String type, net.sf.json.JSONObject authModelObject)
-
retrieveCurrentUserSession
@JavaScriptMethod public String retrieveCurrentUserSession(net.sf.json.JSONObject authModelObject)
-
retrieveReleaseById
@JavaScriptMethod public String retrieveReleaseById(int releaseId, net.sf.json.JSONObject authModelObject)
-
doFillPersonalAccessTokenItems
public ListBoxModel doFillPersonalAccessTokenItems(@AncestorInPath Job job)
-
retrieveAssessmentTypeEntitlements
@JavaScriptMethod public String retrieveAssessmentTypeEntitlements(Boolean isMicroservice, net.sf.json.JSONObject authModelObject)
-
retrieveDynamicScanSettings
@JavaScriptMethod public String retrieveDynamicScanSettings(Integer releaseId, net.sf.json.JSONObject authModelObject)
-
submitCreateApplication
@JavaScriptMethod public String submitCreateApplication(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)
-
retrieveReleaseList
@JavaScriptMethod public String retrieveReleaseList(int selectedApplicationId, int microserviceId, String searchTerm, int offset, int limit, net.sf.json.JSONObject authModelObject)
-
doTestPersonalAccessTokenConnection
@POST public FormValidation doTestPersonalAccessTokenConnection(@QueryParameter("username") String username, @QueryParameter("personalAccessToken") String personalAccessToken, @QueryParameter("tenantId") String tenantId, @AncestorInPath Job job) throws FormValidation
- Throws:
FormValidation
-
-