Examples of ScanParametersBean


Examples of com.denimgroup.threadfix.service.beans.ScanParametersBean

    if (application == null) {
      log.warn(APPLICATION_LOOKUP_FAILED);
      return failure(APPLICATION_LOOKUP_FAILED);
    }
   
    ScanParametersBean bean = new ScanParametersBean();
   
    if (request.getParameter("sourceCodeAccessLevel") != null) {
      bean.setSourceCodeAccessLevel(request.getParameter("sourceCodeAccessLevel"));
    }
   
    if (request.getParameter("frameworkType") != null) {
      bean.setApplicationType(request.getParameter("frameworkType"));
    }
   
    if (request.getParameter("repositoryUrl") != null) {
      bean.setSourceCodeUrl(request.getParameter("repositoryUrl"));
    }
   
    scanParametersService.saveConfiguration(application, bean);

        return writeSuccessObjectWithView(application, AllViews.RestViewApplication2_1.class);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.