RiskAnalysisResult
Inheritance: java.lang.Object
public class RiskAnalysisResult
Represents a result of risk analysis.
Methods
Method | Description |
---|---|
getRiskItems(int itemType) | Returns an instance of the RiskItemStatisticsCollection for the specified risk type. |
saveReport(InputStream stream) | Saves the risk analysis report to the stream in PDF format. |
saveReport(String fileName) | Saves the risk analysis report to the specified file path in PDF format. |
getRiskItems(int itemType)
public final RiskItemStatisticsCollection getRiskItems(int itemType)
Returns an instance of the RiskItemStatisticsCollection for the specified risk type.
Parameters:
Parameter | Type | Description |
---|---|---|
itemType | int | the specified risk type; can be one of the values of the RiskItemType enumeration. |
Returns: RiskItemStatisticsCollection - an instance of the RiskItemStatisticsCollection for the specified risk type.
saveReport(InputStream stream)
public final void saveReport(InputStream stream)
Saves the risk analysis report to the stream in PDF format.
Parameters:
Parameter | Type | Description |
---|---|---|
stream | java.io.InputStream | The stream to save risk analysis report to. |
saveReport(String fileName)
public final void saveReport(String fileName)
Saves the risk analysis report to the specified file path in PDF format.
Parameters:
Parameter | Type | Description |
---|---|---|
fileName | java.lang.String | The specified file name. |