Class ScanResultInfo

java.lang.Object
flexagon.fd.model2.pipeline.execution.variables.ScanResultInfo

public class ScanResultInfo extends Object
The Class ScanResultInfo.
  • Constructor Summary

    Constructors
    Constructor
    Description
    ScanResultInfo(List<ScanResultsForSnapshotQueryExtResultRow> pScanResults)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    List<ScanResultsForSnapshotQueryExtResultRow>
    get()
    returns a list of ScanResult objects
    int
    returns the Integer critical count sum for all ScanResult objects
    int
    returns the Integer high count sum for all ScanResult objects
    int
    returns the Integer low count sum for all ScanResult objects
    int
    returns the Integer medium count sum for all ScanResult objects
    boolean
    returns a boolean value of True if any scan results objects have a scan status of 'FAILED'
    boolean
    returns a boolean value of True if any scan results objects have a scan status of 'RUNNING'

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ScanResultInfo

      public ScanResultInfo(List<ScanResultsForSnapshotQueryExtResultRow> pScanResults)
  • Method Details

    • get

      public List<ScanResultsForSnapshotQueryExtResultRow> get()
      returns a list of ScanResult objects
      Returns:
      the ScanResult objects list
    • getTotalCriticalCounts

      public int getTotalCriticalCounts()
      returns the Integer critical count sum for all ScanResult objects
      Returns:
      the total critical counts
    • getTotalHighCounts

      public int getTotalHighCounts()
      returns the Integer high count sum for all ScanResult objects
      Returns:
      the total high counts
    • getTotalMediumCounts

      public int getTotalMediumCounts()
      returns the Integer medium count sum for all ScanResult objects
      Returns:
      the total medium counts
    • getTotalLowCounts

      public int getTotalLowCounts()
      returns the Integer low count sum for all ScanResult objects
      Returns:
      the total low counts
    • isAnyFailure

      public boolean isAnyFailure()
      returns a boolean value of True if any scan results objects have a scan status of 'FAILED'
      Returns:
      true, if is any failure
    • isAnyRunning

      public boolean isAnyRunning()
      returns a boolean value of True if any scan results objects have a scan status of 'RUNNING'
      Returns:
      true, if is any running