commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Sanford (JIRA)" <>
Subject [jira] Updated: (SANDBOX-265) Create a stage for filtering out objects based on a predicate
Date Thu, 09 Oct 2008 17:00:44 GMT


Matt Sanford updated SANDBOX-265:

    Attachment: filter_stage.patch

Replace patch to match refactored location of ExtendedBaseStage (SANDBOX-261)

> Create a stage for filtering out objects based on a predicate
> -------------------------------------------------------------
>                 Key: SANDBOX-265
>                 URL:
>             Project: Commons Sandbox
>          Issue Type: Improvement
>          Components: Pipeline
>    Affects Versions: Nightly Builds
>         Environment: All
>            Reporter: Matt Sanford
>            Priority: Minor
>             Fix For: Nightly Builds
>         Attachments: filter_stage.patch
> Pipeline stage to filter out objects based on some criteria. This can be done today by
writing a stage class with a conditional emit call. As with functors and other predicate classes
this new stage aims to simplify the coding of simple filters. I will be attaching the classes
and tests after I submit this. The only filter included is generic and provided as an example.
We have been using this filter mechanism with custom filter classes to make fairly complex
object flows via configuration alone allowing for great flexibility and no need to build any
new code or jars.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message