Package com.denimgroup.threadfix.data.entities

Examples of com.denimgroup.threadfix.data.entities.ScanCloseVulnerabilityMap


          if (vuln.getScanCloseVulnerabilityMaps() != null) {
            if (vuln.getScanCloseVulnerabilityMaps().size() == 1) {
              vuln.setCloseTime(null);
            } else if (vuln.getScanCloseVulnerabilityMaps().size() > 1) {

              ScanCloseVulnerabilityMap closeMap = vuln.getScanCloseVulnerabilityMaps()
                        .get(vuln.getScanCloseVulnerabilityMaps().size() - 2);
             
              if (closeMap != null && closeMap.getScan() != null &&
                  closeMap.getScan().getImportTime() != null) {
                vuln.setCloseTime(closeMap.getScan().getImportTime());
              }
            }
          }

          // TODO else if there are more older maps, change the close time to
View Full Code Here

TOP

Related Classes of com.denimgroup.threadfix.data.entities.ScanCloseVulnerabilityMap

Copyright © 2018 www.massapicom. 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.