| Constructor and Description |
|---|
FilterPipeline()
Constructor.
|
FilterPipeline(java.util.List<Filter> pipeline)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
postProcess(com.rollbar.api.payload.data.Data data)
Post-filter hook to decide once the final payload is ready if it should be send to Rollbar.
|
boolean |
preProcess(com.rollbar.api.payload.data.Level level,
java.lang.Throwable error,
java.util.Map<java.lang.String,java.lang.Object> custom,
java.lang.String description)
Pre-filter hook to decide before gathering information and transforming the data if it is
susceptible of it.
|
public FilterPipeline()
public FilterPipeline(java.util.List<Filter> pipeline)
pipeline - the list of filers.public boolean preProcess(com.rollbar.api.payload.data.Level level,
java.lang.Throwable error,
java.util.Map<java.lang.String,java.lang.Object> custom,
java.lang.String description)
FilterpreProcess in interface Filterlevel - the levelerror - the error.custom - the custom data.description - the description.public boolean postProcess(com.rollbar.api.payload.data.Data data)
FilterpostProcess in interface Filterdata - the data.