Return-Path: Delivered-To: apmail-commons-issues-archive@locus.apache.org Received: (qmail 20663 invoked from network); 9 Oct 2008 17:01:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Oct 2008 17:01:36 -0000 Received: (qmail 10196 invoked by uid 500); 9 Oct 2008 17:01:34 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 10117 invoked by uid 500); 9 Oct 2008 17:01:34 -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 10106 invoked by uid 99); 9 Oct 2008 17:01:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Oct 2008 10:01:34 -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; Thu, 09 Oct 2008 17:00:38 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 588E5234C21A for ; Thu, 9 Oct 2008 10:00:44 -0700 (PDT) Message-ID: <684003390.1223571644361.JavaMail.jira@brutus> Date: Thu, 9 Oct 2008 10:00:44 -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 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: 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 > 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.