com.aspose.tasks

Interfaces

Classes

Exceptions

com.aspose.tasks

Class RiskAnalysisResult



  • public class RiskAnalysisResult
    extends Object

    Represents a result of risk analysis.

    • Method Detail

      • getRiskItems

        public 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 the RiskItemType enum.
        Returns:
        an instance of the RiskItemStatisticsCollection for the specified risk type.
      • saveReport

        public void saveReport(InputStream stream)

        Saves the risk analysis report to the stream in pdf format.

        Parameters:
        stream - The stream to save risk analysis report to.
      • saveReport

        public void saveReport(String fileName)

        Saves the risk analysis report to the specified file path in pdf format.

        Parameters:
        fileName - The specified file name.