public interface ActionExecutor
Action
,
ActionDefinition
Modifier and Type | Interface and Description |
---|---|
static class |
ActionExecutor.Noop
Action executor implementation that does nothing.
|
Modifier and Type | Method and Description |
---|---|
void |
execute(String actionName,
Object... args)
Creates a new instance of the action for the supplied name and executes it.
|
ActionDefinition |
getActionDefinition(String actionName)
Performs a lookup for an action definition by name.
|
void execute(String actionName, Object... args) throws ActionExecutionException
ActionExecutionException
- if the action encounters a problem during execution or if no action definition matches the nameActionDefinition getActionDefinition(String actionName)
Copyright © 2019 Magnolia International Ltd.. All rights reserved.