public class RedactionResult extends Object
Represents a result of the redaction operation.
Learn more
| Modifier and Type | Method and Description |
|---|---|
static RedactionResult |
failed(String description)
Initializes a new instance of RedactionResult class with Failed status.
|
String |
getErrorMessage()
Gets the error message for diagnostics.
|
RedactionStatus |
getStatus()
Gets the execution status.
|
static RedactionResult |
partial(String description)
Initializes a new instance of RedactionResult class with PartiallyApplied status.
|
static RedactionResult |
skipped(String description)
Initializes a new instance of RedactionResult class with Skipped status.
|
static RedactionResult |
successful()
Initializes a new instance of RedactionResult class with Applied (successful) status.
|
public static RedactionResult failed(String description)
Initializes a new instance of RedactionResult class with Failed status.
description - Failure or exception detailspublic final String getErrorMessage()
Gets the error message for diagnostics.
public final RedactionStatus getStatus()
Gets the execution status.
public static RedactionResult partial(String description)
Initializes a new instance of RedactionResult class with PartiallyApplied status.
description - Reason why the operation was not fully appliedpublic static RedactionResult skipped(String description)
Initializes a new instance of RedactionResult class with Skipped status.
description - Reason why the operation was skippedpublic static RedactionResult successful()
Initializes a new instance of RedactionResult class with Applied (successful) status.
Copyright © 2025. All rights reserved.