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

Paul King updated GROOVY-9675:
------------------------------
    Description: 
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.

  was:
The idea would be to use system properties, e.g.:
{code:java}
-Dgroovy.macro.disable.foo=true
-Dgroovy.extension.disable.bar=true
{code}
would disable any macro method (i.e. ignores parameters) with that name.


> 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
>            Priority: Major
>          Time Spent: 40m
>  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)

Reply via email to