Interface AllowedMethodContribution

All Known Implementing Classes:
DefaultMethodContribution, VariableProviderMethodContribution

public interface AllowedMethodContribution
Contribution that controls which method calls are allowed in groovy script listeners.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    acceptMethod(Class<?> type, String methodName)
     
  • Method Details

    • acceptMethod

      boolean acceptMethod(Class<?> type, String methodName)
      Parameters:
      type - the declaring class
      methodName - the name of the method
      Returns:
      whether this method call should be allowed in groovy scripts