Return-Path: Delivered-To: apmail-commons-issues-archive@locus.apache.org Received: (qmail 41816 invoked from network); 7 Oct 2008 16:59:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Oct 2008 16:59:14 -0000 Received: (qmail 19910 invoked by uid 500); 7 Oct 2008 16:59:06 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 19770 invoked by uid 500); 7 Oct 2008 16:59:06 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 19749 invoked by uid 99); 7 Oct 2008 16:59:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Oct 2008 09:59:06 -0700 X-ASF-Spam-Status: No, hits=-1999.9 required=10.0 tests=ALL_TRUSTED,DNS_FROM_SECURITYSAGE X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Oct 2008 16:58:10 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5DD6A234C213 for ; Tue, 7 Oct 2008 09:58:46 -0700 (PDT) Message-ID: <225100084.1223398726383.JavaMail.jira@brutus> Date: Tue, 7 Oct 2008 09:58:46 -0700 (PDT) From: "Matt Sanford (JIRA)" To: issues@commons.apache.org Subject: [jira] Updated: (SANDBOX-265) Create a stage for filtering out objects based on a predicate In-Reply-To: <820631745.1223398726359.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SANDBOX-265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matt Sanford updated SANDBOX-265: --------------------------------- Attachment: filter_stage.patch Stage and tests > Create a stage for filtering out objects based on a predicate > ------------------------------------------------------------- > > Key: SANDBOX-265 > URL: https://issues.apache.org/jira/browse/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.