Introduced the type to represent analyzer result: OdinAnalyzerResult:
sealed trait OdinAnalysisResult {
val analysisName: String
}
object OdinAnalysisResult {
final case class Ok(override val analysisName: String)
extends OdinAnalysisResult
final case class DefectDetected(
override val analysisName: String,
messages: List[String]
) extends OdinAnalysisResult
final case class AnalyzerFailure(
override val analysisName: String,
reason: String
) extends OdinAnalysisResulta
}
Replaced the occurrences of the old type with the new type
Based on @fizruk comment in #38
Introduced the type to represent analyzer result:
OdinAnalyzerResult
: