@Slf4j(value: LOG) abstract class AbstractGroovyConsoleScheduledJobEventHandler extends Object implements org.osgi.service.event.EventHandler
Event handler base class that can be extended to implement custom handling of completed scheduled job executions.
| Constructor and description |
|---|
AbstractGroovyConsoleScheduledJobEventHandler() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
protected abstract AuditService |
getAuditService()Get the audit service. |
|
final void |
handleEvent(org.osgi.service.event.Event event) |
|
protected abstract void |
handleScheduledJobEvent(RunScriptResponse response)Handle the scheduled job completion event for the given script execution response. |
Get the audit service.
Handle the scheduled job completion event for the given script execution response.
response - script execution response