Package com.aspose.tasks
Class RiskAnalysisResult
- java.lang.Object
-
- com.aspose.tasks.RiskAnalysisResult
-
public class RiskAnalysisResult extends Object
Represents a result of risk analysis.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RiskItemStatisticsCollection
getRiskItems(int itemType)
Returns an instance of theRiskItemStatisticsCollection
for the specified risk type.void
saveReport(InputStream stream)
Saves the risk analysis report to the stream in PDF format.void
saveReport(String fileName)
Saves the risk analysis report to the specified file path in PDF format.
-
-
-
Method Detail
-
getRiskItems
public final RiskItemStatisticsCollection getRiskItems(int itemType)
Returns an instance of the
RiskItemStatisticsCollection
for the specified risk type.- Parameters:
itemType
- the specified risk type; can be one of the values of theRiskItemType
enumeration.- Returns:
- an instance of the
RiskItemStatisticsCollection
for the specified risk type.
-
saveReport
public final void saveReport(String fileName) throws IOException
Saves the risk analysis report to the specified file path in PDF format.
- Parameters:
fileName
- The specified file name.- Throws:
IOException
-
saveReport
public final void saveReport(InputStream stream) throws IOException
Saves the risk analysis report to the stream in PDF format.
- Parameters:
stream
- The stream to save risk analysis report to.- Throws:
IOException
-
-