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)PatchDastFileUploadResponsedastManifestFileUpload(String releaseId, net.sf.json.JSONObject authModelObject, String fileContent, String fileType, String fileName)static ListBoxModeldoFillDastEnvItems()ListBoxModeldoFillPersonalAccessTokenItems(Job job)static ListBoxModeldoFillScanPolicyItems()static ListBoxModeldoFillScanTypeItems()ListBoxModeldoFillSelectedReleaseTypeItems()FormValidationdoTestPersonalAccessTokenConnection(String username, String personalAccessToken, String tenantId, Job job)StringgetDisplayName()booleanisApplicable(Class<? extends AbstractProject> aClass)StringretrieveApplicationList(String searchTerm, int offset, int limit, net.sf.json.JSONObject authModelObject)StringretrieveAssessmentTypeEntitlements(Boolean isMicroservice, net.sf.json.JSONObject authModelObject)StringretrieveCurrentUserSession(net.sf.json.JSONObject authModelObject)StringretrieveDynamicScanSettings(Integer releaseId, net.sf.json.JSONObject authModelObject)StringretrieveLookupItems(String type, 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)StringsubmitCreateApplication(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>
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayNamein 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
-
-