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 2168B9285 for ; Wed, 4 Jan 2012 00:22:47 +0000 (UTC) Received: (qmail 6691 invoked by uid 500); 4 Jan 2012 00:22:47 -0000 Delivered-To: apmail-incubator-deltaspike-dev-archive@incubator.apache.org Received: (qmail 6641 invoked by uid 500); 4 Jan 2012 00:22: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 6633 invoked by uid 99); 4 Jan 2012 00:22:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jan 2012 00:22:47 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lightguard.jp@gmail.com designates 209.85.212.175 as permitted sender) Received: from [209.85.212.175] (HELO mail-wi0-f175.google.com) (209.85.212.175) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jan 2012 00:22:42 +0000 Received: by wibhq7 with SMTP id hq7so9747212wib.6 for ; Tue, 03 Jan 2012 16:22:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=UTXis77tJcYFpwMrxeJcq1KDZO2bSgLJYTit/aqjajk=; b=nzlXei1KuRiDcTgfFLwH8YRbe9hx7L6Yla2hT/4ynxtaaV306ROLKJhX4q4pLdELko 0G1Tnyk75jQ5vgLxCQLeTg0xaCErKr1s9aTYXPtg8VDHKviXPNeq9PxCUMaIwDieiv7g 5njekiLqexlhUUBIXytw70NNIeEGdQzW8SrCY= Received: by 10.180.20.18 with SMTP id j18mr117594275wie.20.1325636541272; Tue, 03 Jan 2012 16:22:21 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.96.144 with HTTP; Tue, 3 Jan 2012 16:22:00 -0800 (PST) In-Reply-To: References: From: Jason Porter Date: Tue, 3 Jan 2012 17:22:00 -0700 Message-ID: Subject: Re: [DISCUSS] merging of features (@Veto, @ProjectStageActivated and @ExpressionActivated) To: deltaspike-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=bcaec53f2e0324d0cd04b5a8cf37 --bcaec53f2e0324d0cd04b5a8cf37 Content-Type: text/plain; charset=UTF-8 +1 On Tue, Jan 3, 2012 at 17:09, John D. Ament wrote: > This is very readable. +1 > On Jan 3, 2012 4:52 PM, "Gerhard Petracek" > wrote: > > > as discussed with mark we could think about details like inProjectStage > vs > > ifProjectStage, however, basically +1 > > > > regards, > > gerhard > > > > > > > > 2012/1/3 Gerhard Petracek > > > > > 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 > > > > > > -- Jason Porter http://lightguard-jp.blogspot.com http://twitter.com/lightguardjp Software Engineer Open Source Advocate Author of Seam Catch - Next Generation Java Exception Handling PGP key id: 926CCFF5 PGP key available at: keyserver.net, pgp.mit.edu --bcaec53f2e0324d0cd04b5a8cf37--