public interface SourceFilter
Modifier and Type | Method and Description |
---|---|
boolean |
filterSource(CloudTrailSource source)
A callback method used to filter a
CloudTrailSource prior to process. |
boolean filterSource(CloudTrailSource source) throws CallbackException
CloudTrailSource
prior to process.
For performance, the source object is not a copy; you should only filter the source here, not change its contents.
source
- The CloudTrailSource
to filter.true
if the source should be processed by the SourceFilter
.CallbackException
- When error happened during filtering source
. CPL will eventually hand this
exception back to ExceptionHandler
.