D
- CommandActionDefinition
.public class DefaultAsyncActionExecutor<D extends CommandActionDefinition> extends Object implements AsyncActionExecutor
AsyncActionExecutor
delegating to Magnolia's SchedulerModule
for asynchronous action execution.Modifier and Type | Class and Description |
---|---|
static class |
DefaultAsyncActionExecutor.CommandActionTriggerListener<D extends CommandActionDefinition>
Takes care of notifying the user about successful or failed executions.
|
AsyncActionExecutor.ParallelExecutionException
Constructor and Description |
---|
DefaultAsyncActionExecutor(D definition,
javax.inject.Provider<info.magnolia.module.scheduler.SchedulerModule> schedulerModuleProvider,
info.magnolia.context.Context context,
UiContext uiContext,
info.magnolia.i18nsystem.SimpleTranslator i18n) |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(JcrItemAdapter item,
Map<String,Object> params) |
protected org.quartz.TriggerListener |
getListener(String jobName,
JcrItemAdapter item) |
public boolean execute(JcrItemAdapter item, Map<String,Object> params) throws Exception
execute
in interface AsyncActionExecutor
Exception
protected org.quartz.TriggerListener getListener(String jobName, JcrItemAdapter item) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
Copyright © 2019 Magnolia International Ltd.. All rights reserved.