[ https://issues.apache.org/jira/browse/DELTASPIKE-42?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13180819#comment-13180819 ]
Gerhard Petracek edited comment on DELTASPIKE-42 at 1/9/12 7:08 PM: -------------------------------------------------------------------- while implementing it i saw that some use-cases in combination with a project-stage are hard to read, so i renamed it for now to: @Exclude(ifProjectStage=Production.class) @Exclude(exceptIfProjectStage=UnitTest.class) was (Author: gpetracek): while implementing it i saw that some use-cases in combination with a project-stage are hard to read, so i renamed it for now to: @Exclude(ifProjectStage=Production.class) @Exclude(exceptIfProjectStage=UnitTest.class) we might need further discussions about it. e.g. we can think about: @Activated(false) //more complicated than just @Exclude - but the rest might be easier @Activated(ifProjectStage=Production.class) @Activated(exceptIfProjectStage=UnitTest.class) @Activated(onExpression="myProperty==myValue") @Activated(onExpression="[my custom expression syntax]", interpretedBy=CustomExpressionInterpreter.class) we should collect common values and check the readability > @Exclude > -------- > > Key: DELTASPIKE-42 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-42 > Project: DeltaSpike > Issue Type: New Feature > Components: Core > Reporter: Gerhard Petracek > Assignee: Gerhard Petracek > Fix For: 0.1-SNAPSHOT > > > we agreed on merging: DELTASPIKE-6, DELTASPIKE-7, DELTASPIKE-8 > see http://s.apache.org/KB5 > first draft of the result: > @Exclude > @Exclude(inProjectStage=Production.class) > @Exclude(notInProjectStage=UnitTest.class) > @Exclude(onExpression="myProperty==myValue") > @Exclude(onExpression="[my custom expression syntax]", > interpretedBy=CustomExpressionInterpreter.class) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira