Return-Path: X-Original-To: apmail-incubator-deltaspike-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-deltaspike-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B62C4B6E3 for ; Wed, 4 Jan 2012 14:59:47 +0000 (UTC) Received: (qmail 97497 invoked by uid 500); 4 Jan 2012 14:59:47 -0000 Delivered-To: apmail-incubator-deltaspike-dev-archive@incubator.apache.org Received: (qmail 97440 invoked by uid 500); 4 Jan 2012 14:59:47 -0000 Mailing-List: contact deltaspike-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: deltaspike-dev@incubator.apache.org Delivered-To: mailing list deltaspike-dev@incubator.apache.org Received: (qmail 97432 invoked by uid 99); 4 Jan 2012 14:59:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jan 2012 14:59:46 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mwessendorf@gmail.com designates 209.85.160.175 as permitted sender) Received: from [209.85.160.175] (HELO mail-gy0-f175.google.com) (209.85.160.175) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jan 2012 14:59:41 +0000 Received: by ghrr17 with SMTP id r17so7330056ghr.6 for ; Wed, 04 Jan 2012 06:59:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=oQ8HaPs8k5cwRCRpFuyBOf4FgNyDc3p1Oo5QrP3St/s=; b=W7C/FPedJJW6oopU97gcZCdwcBMo1kZ6pip8xNH35umbMU0p35H2PRHANBYCAgopuw xdnI2fZT/7JWslcvpHvK9VPNP0TDNdq6/Dok/RU+0WkFeuE6jsESY888S03NJ/K28101 neC2u1WAJGPE9aFwxQezi/TQsdFhnaPsgJmRo= MIME-Version: 1.0 Received: by 10.100.199.10 with SMTP id w10mr22889378anf.29.1325689160387; Wed, 04 Jan 2012 06:59:20 -0800 (PST) Sender: mwessendorf@gmail.com Received: by 10.101.67.6 with HTTP; Wed, 4 Jan 2012 06:59:20 -0800 (PST) In-Reply-To: References: Date: Wed, 4 Jan 2012 15:59:20 +0100 X-Google-Sender-Auth: Mv7cSDP7nRrrctRLaqIBLlmOKok Message-ID: Subject: Re: [DISCUSS] merging of features (@Veto, @ProjectStageActivated and @ExpressionActivated) From: Matthias Wessendorf To: deltaspike-dev@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org +1 I like it On Tue, Jan 3, 2012 at 10:50 PM, Gerhard Petracek wrote: > hi @ all, > > we came up with a new idea to merge @Veto, @ProjectStageActivated and > @ExpressionActivated. > arne combined [1] some of the previous suggestions and the result would > solve the @Veto naming discussion as well. > > if we merge those features, we would get something like: > @Exclude > @Exclude(inProjectStage=Production.class) > @Exclude(notInProjectStage=UnitTest.class) > @Exclude(onExpression="myProperty==myValue") > @Exclude(onExpression="[my custom expression syntax]", > interpretedBy=CustomExpressionInterpreter.class) > > regards, > gerhard > > [1] http://markmail.org/message/6rbzbrtzye3y65lu -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf