Class ExternalGuardrailInvocationResult.Builder
java.lang.Object
com.flowable.agent.api.guardrail.ExternalGuardrailInvocationResult.Builder
- Enclosing class:
ExternalGuardrailInvocationResult
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()sanitizedContent(String sanitizedContent) Sets the sanitized/rewritten content that will replace the original content before continuing the pipeline.
-
Field Details
-
passed
protected final boolean passed -
reason
-
sanitizedContent
-
-
Constructor Details
-
Builder
protected Builder(boolean passed)
-
-
Method Details
-
reason
-
sanitizedContent
Sets the sanitized/rewritten content that will replace the original content before continuing the pipeline. For example, PII can be redacted: "Call John at 555-1234" → "Call [PERSON] at [PHONE_NUMBER]". -
build
-