com.icfolson.aem.groovy.console.api.StarImportExtensionProvider.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aem-groovy-console Show documentation
Show all versions of aem-groovy-console Show documentation
The AEM Groovy Console provides an interface for running Groovy scripts in the AEM container. Scripts can be
created to manipulate content in the JCR, call OSGi services, or execute arbitrary code using the AEM, Sling,
or JCR APIs.
package com.icfolson.aem.groovy.console.api
/**
* Services may implement this interface to supply additional star imports to the compiler configuration for Groovy
* script execution.
*/
interface StarImportExtensionProvider {
/**
* Get the star imports to add to the script compiler. All imports provided by extension services will be merged
* prior to script execution.
*
* @return set of star imports
*/
Set getStarImports()
}