Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-9675

There should be a mechanism to disable individual macro methods & extension methods

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0-alpha-1
    • None
    • None

    Description

      The idea would be to use system properties, e.g.:

      -Dgroovy.macro.disable=foo,NVD
      -Dgroovy.extension.disable=bar,baz
      

      would disable any macro/extension method (i.e. ignores parameters) with one of the names in the comma separated list.

      Attachments

        Issue Links

          Activity

            People

              paulk Paul King
              paulk Paul King
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m