Uses of Enum Class
com.tnsai.quality.security.DestructiveCommandDetector.Severity
Packages that use DestructiveCommandDetector.Severity
-
Uses of DestructiveCommandDetector.Severity in com.tnsai.quality.security
Methods in com.tnsai.quality.security that return DestructiveCommandDetector.SeverityModifier and TypeMethodDescriptionDestructiveCommandDetector.DestructivePattern.severity()Returns the value of theseverityrecord component.Returns the enum constant of this class with the specified name.static DestructiveCommandDetector.Severity[]DestructiveCommandDetector.Severity.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.tnsai.quality.security with parameters of type DestructiveCommandDetector.SeverityModifier and TypeMethodDescriptionDestructiveCommandDetector.DestructivePattern.of(String name, DestructiveCommandDetector.Severity severity, String regex) Convenience factory that compilesregexwith case-insensitive flag.DestructiveCommandDetector.Builder.severityAction(DestructiveCommandDetector.Severity severity, Function<String, com.tnsai.agents.execution.ToolCallAction> mapper) Override the action mapper for a specific severity.Method parameters in com.tnsai.quality.security with type arguments of type DestructiveCommandDetector.SeverityModifier and TypeMethodDescriptionDestructiveCommandDetector.Builder.defaultMapper(Function<DestructiveCommandDetector.Severity, com.tnsai.agents.execution.ToolCallAction> mapper) Replace the default severity → action mapper entirely.Constructors in com.tnsai.quality.security with parameters of type DestructiveCommandDetector.SeverityModifierConstructorDescriptionDestructivePattern(String name, DestructiveCommandDetector.Severity severity, Pattern regex) Creates an instance of aDestructivePatternrecord class.