Class ScanResultInfo
java.lang.Object
flexagon.fd.model2.pipeline.execution.variables.ScanResultInfo
The Class ScanResultInfo.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<ScanResultsForSnapshotQueryExtResultRow>get()returns a list of ScanResult objectsintreturns the Integer critical count sum for all ScanResult objectsintreturns the Integer high count sum for all ScanResult objectsintreturns the Integer low count sum for all ScanResult objectsintreturns the Integer medium count sum for all ScanResult objectsbooleanreturns a boolean value of True if any scan results objects have a scan status of 'FAILED'booleanreturns a boolean value of True if any scan results objects have a scan status of 'RUNNING'
-
Constructor Details
-
ScanResultInfo
-
-
Method Details
-
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
-