com.citytechinc.aem.groovy.console.api.ScriptMetaClassExtensionProvider.groovy Maven / Gradle / Ivy
package com.citytechinc.aem.groovy.console.api
import org.apache.sling.api.SlingHttpServletRequest
/**
* Services may implement this interface to supply additional metamethods to apply to the Script
metaclass.
*/
interface ScriptMetaClassExtensionProvider {
/**
* Get a closure to register a metaclass for the script to be executed.
*
* @param request current request
* @return a closure containing metamethods to register for scripts
*/
Closure getScriptMetaClass(SlingHttpServletRequest request)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy