CustomRedactionResult
Leave feedback
On this page
Inheritance: java.lang.Object
public class CustomRedactionResult
Represents a result returned by ICustomRedactionHandler.
| Constructor | Description |
|---|---|
| CustomRedactionResult() |
| Method | Description |
|---|---|
| getApply() | Gets a value indicating whether the replacement should be applied. |
| setApply(boolean value) | Sets a value indicating whether the replacement should be applied. |
| getText() | Gets the replacement text used when #getApply().getApply() is |
| true | |
| . | |
| setText(String value) | Sets the replacement text used when #getApply().getApply() is |
| true | |
| . | |
public CustomRedactionResult()
public final boolean getApply()
Gets a value indicating whether the replacement should be applied.
Returns: boolean - true to replace the matched text with #getText().getText(); otherwise, false .
public final void setApply(boolean value)
Sets a value indicating whether the replacement should be applied.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean | true to apply the replacement; otherwise, false . |
public final String getText()
Gets the replacement text used when #getApply().getApply() is true .
Returns: java.lang.String - The replacement text.
public final void setText(String value)
Sets the replacement text used when #getApply().getApply() is true .
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String | The replacement text. |
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.