commonMain.com.saveourtool.save.demo.DemoResult.kt Maven / Gradle / Ivy
The newest version!
package com.saveourtool.save.demo
import kotlinx.serialization.Serializable
/**
* Class that represents the output of diktat demo
*
* @property warnings list of warnings that were found
* @property outputText list of lines of resulting file
* @property stdout standard output received from the tool
* @property stderr standard error output received from the tool
* @property terminationCode termination code of a tool running process
*/
@Serializable
data class DemoResult(
val warnings: List,
val outputText: List,
val stdout: List,
val stderr: List,
val terminationCode: Int,
) {
companion object {
val empty = DemoResult(emptyList(), emptyList(), emptyList(), emptyList(), -1)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy