public class ChainedAction<T> extends AbstractAction<ChainedActionDefinition>
Constructor and Description |
---|
ChainedAction(ChainedActionDefinition actionDefinition,
info.magnolia.objectfactory.ComponentProvider componentProvider,
ValueContext<T> valueContext,
AvailabilityChecker<T> availabilityChecker) |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Executes the action.
|
protected void |
execute(String action) |
protected ValueContext<T> |
getValueContext() |
getDefinition
@Inject public ChainedAction(ChainedActionDefinition actionDefinition, info.magnolia.objectfactory.ComponentProvider componentProvider, ValueContext<T> valueContext, AvailabilityChecker<T> availabilityChecker)
public void execute() throws ActionExecutionException
Action
ActionExecutionException
- if an error occurs performing the actionprotected void execute(String action) throws ActionExecutionException
ActionExecutionException
protected ValueContext<T> getValueContext()
Copyright © 2020 Magnolia International Ltd.. All rights reserved.