public class RedactorSettings extends Object
Represents redaction settings, allowing to customize the redaction process.
<b>Learn more</b>
Constructor and Description |
---|
RedactorSettings()
Initializes a new instance of the RedactorSettings class.
|
RedactorSettings(ILogger logger)
Initializes a new instance of the RedactorSettings class with a given ILogger instance.
|
RedactorSettings(ILogger logger,
IRedactionCallback callback)
Initializes a new instance of the RedactorSettings class with given ILogger and IRedactionCallback instances.
|
RedactorSettings(IRedactionCallback callback)
Initializes a new instance of the RedactorSettings class with a given IRedactionCallback instance.
|
Modifier and Type | Method and Description |
---|---|
ILogger |
getLogger()
Gets an instance of a class, implementing
ILogger , that is used for logging events and errors. |
IRedactionCallback |
getRedactionCallback()
Gets an instance of a class, implementing
IRedactionCallback . |
void |
setLogger(ILogger value)
Sets an instance of a class, implementing
ILogger , that is used for logging events and errors. |
void |
setRedactionCallback(IRedactionCallback value)
Sets an instance of a class, implementing
IRedactionCallback . |
public RedactorSettings()
Initializes a new instance of the RedactorSettings class.
public RedactorSettings(ILogger logger)
Initializes a new instance of the RedactorSettings class with a given ILogger instance.
logger
- An instance of a class, implementing ILogger interfacepublic RedactorSettings(IRedactionCallback callback)
Initializes a new instance of the RedactorSettings class with a given IRedactionCallback instance.
callback
- An instance of a class, implementing IRedactionCallbck interfacepublic RedactorSettings(ILogger logger, IRedactionCallback callback)
Initializes a new instance of the RedactorSettings class with given ILogger and IRedactionCallback instances.
logger
- An instance of a class, implementing ILogger interfacecallback
- An instance of a class, implementing IRedactionCallbck interfacepublic final ILogger getLogger()
Gets an instance of a class, implementing ILogger
, that is used for logging events and errors.
ILogger
, that is used for logging events and errors.public final void setLogger(ILogger value)
Sets an instance of a class, implementing ILogger
, that is used for logging events and errors.
value
- An instance of a class, implementing ILogger
, that is used for logging events and errors.public final IRedactionCallback getRedactionCallback()
Gets an instance of a class, implementing IRedactionCallback
.
IRedactionCallback
.public final void setRedactionCallback(IRedactionCallback value)
Sets an instance of a class, implementing IRedactionCallback
.
value
- An instance of a class, implementing IRedactionCallback
.