Package it.unive.lisa
Class LiSAReport
- java.lang.Object
-
- it.unive.lisa.LiSAReport
-
public class LiSAReport extends java.lang.Object
A structured report containing the information about an analysis that has successfully completed.
-
-
Constructor Summary
Constructors Constructor Description LiSAReport(LiSAConfiguration configuration, LiSARunInfo info, java.util.Collection<Warning> warnings, java.util.Collection<java.lang.String> createdFiles)
Builds the report.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
LiSAConfiguration
getConfiguration()
Yields theLiSAConfiguration
used to run the analysis.java.util.Collection<java.lang.String>
getCreatedFiles()
Yields the names of the files created during the analysis, as reported byFileManager.createdFiles()
.LiSARunInfo
getInfo()
TheLiSARunInfo
containing information about the analysis.java.util.Collection<Warning>
getWarnings()
Yields theWarning
s that have been generated during the analysis.int
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
LiSAReport
public LiSAReport(LiSAConfiguration configuration, LiSARunInfo info, java.util.Collection<Warning> warnings, java.util.Collection<java.lang.String> createdFiles)
Builds the report.- Parameters:
configuration
- the configuration used for the analysisinfo
- the information of the analysis runwarnings
- the warnings generated by the analysiscreatedFiles
- the files generated by the analysis
-
-
Method Detail
-
getInfo
public LiSARunInfo getInfo()
TheLiSARunInfo
containing information about the analysis.- Returns:
- the information
-
getConfiguration
public LiSAConfiguration getConfiguration()
Yields theLiSAConfiguration
used to run the analysis.- Returns:
- the configuration
-
getWarnings
public java.util.Collection<Warning> getWarnings()
Yields theWarning
s that have been generated during the analysis.- Returns:
- the generated warnings
-
getCreatedFiles
public java.util.Collection<java.lang.String> getCreatedFiles()
Yields the names of the files created during the analysis, as reported byFileManager.createdFiles()
.- Returns:
- the names of the created files
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-