xyz.capybara.clamav.commands.scan.result.ScanResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of clamav-client Show documentation
Show all versions of clamav-client Show documentation
Java Client for the ClamAV antivirus service.
package xyz.capybara.clamav.commands.scan.result
/**
* This class holds the result of an antivirus scan.
* It contains a status and a map filled as following:
*
* * Key: infected file path
* * Value: list of viruses found in the file
*
*/
data class ScanResult(val status: Status, val foundViruses: Map> = emptyMap()) {
enum class Status {
OK, VIRUS_FOUND
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy