added files.

This commit is contained in:
nitrogenoliquido committed 2026-11-01 21:25:46 -05:00
commit 277c85eacd
150 files changed
+16138

No files matched your search

@@ -0,0 +1,21 @@
package me.konsolas.aac.command;
import me.konsolas.aac.analysis.RiskLevel;
enum MitigationMode {
OFF, NORMAL, REDUCED;
boolean checkMitigationMode(RiskLevel riskLevel) {
switch(this) {
case OFF:
return false;
case NORMAL:
return riskLevel == RiskLevel.SUSPICIOUS || riskLevel == RiskLevel.HIGH;
case REDUCED:
return riskLevel == RiskLevel.HIGH;
default:
throw new AssertionError();
}
}
}