com.icfolson.aem.groovy.console.notification.NotificationService.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.notification
import com.icfolson.aem.groovy.console.response.RunScriptResponse
import javax.jcr.Session
/**
* Services may implement this interface to provide additional notifications for Groovy Console script executions.
*/
interface NotificationService {
/**
* Send a notification for the given script and response.
*
* @param session request session
* @param response script execution response
*/
void notify(Session session, RunScriptResponse response)
}