commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Sanford (JIRA)" <>
Subject [jira] Created: (SANDBOX-265) Create a stage for filtering out objects based on a predicate
Date Tue, 07 Oct 2008 16:58:46 GMT
Create a stage for filtering out objects based on a predicate

                 Key: SANDBOX-265
             Project: Commons Sandbox
          Issue Type: Improvement
          Components: Pipeline
    Affects Versions: Nightly Builds
         Environment: All
            Reporter: Matt Sanford
             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