You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Daniel Sun (Jira)" <ji...@apache.org> on 2020/08/09 04:53:00 UTC

[jira] [Resolved] (GROOVY-9675) There should be a mechanism to disable individual macro methods & extension methods

     [ https://issues.apache.org/jira/browse/GROOVY-9675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Sun resolved GROOVY-9675.
--------------------------------
    Fix Version/s: 4.0.0-alpha-1
         Assignee: Paul King
       Resolution: Fixed

> There should be a mechanism to disable individual macro methods & extension methods
> -----------------------------------------------------------------------------------
>
>                 Key: GROOVY-9675
>                 URL: https://issues.apache.org/jira/browse/GROOVY-9675
>             Project: Groovy
>          Issue Type: New Feature
>            Reporter: Paul King
>            Assignee: Paul King
>            Priority: Major
>             Fix For: 4.0.0-alpha-1
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> The idea would be to use system properties, e.g.:
> {code:java}
> -Dgroovy.macro.disable=foo,NVD
> -Dgroovy.extension.disable=bar,baz
> {code}
> would disable any macro/extension method (i.e. ignores parameters) with one of the names in the comma separated list.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)