Package com.tnsai.quality.redaction
Enum Class RedactionScope
- All Implemented Interfaces:
Serializable,Comparable<RedactionScope>,Constable
Where the redacted content originated (issue #80). Lets a tenant
policy redactor apply different rules per call site — e.g. allow
email addresses in user-typed prompts but redact them from log
attributes that ship to the SaaS log aggregator.
- Since:
- 0.5.0 (issue #80)
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionStack trace / cause chain inside an error event.User / system prompt body sent to an LLM.LLM completion text returned by the provider.Generic structured-log attribute on anAgentEventPublishersink.Memory write — content persisted across turns / sessions.Tool input arguments captured for replay / audit.Tool output captured for downstream consumers. -
Method Summary
Modifier and TypeMethodDescriptionstatic RedactionScopeReturns the enum constant of this class with the specified name.static RedactionScope[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
LOG_ATTR
Generic structured-log attribute on anAgentEventPublishersink. -
LLM_PROMPT
User / system prompt body sent to an LLM. -
LLM_RESPONSE
LLM completion text returned by the provider. -
MEMORY_WRITE
Memory write — content persisted across turns / sessions. -
TOOL_INPUT
Tool input arguments captured for replay / audit. -
TOOL_OUTPUT
Tool output captured for downstream consumers. -
ERROR_TRACE
Stack trace / cause chain inside an error event.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-