RiskAnalysisResult

Inheritance: java.lang.Object

public class RiskAnalysisResult

Represents a result of risk analysis.

Methods

MethodDescription
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:

ParameterTypeDescription
itemTypeintthe 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:

ParameterTypeDescription
streamjava.io.InputStreamThe 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:

ParameterTypeDescription
fileNamejava.lang.StringThe specified file name.