@Role @Unstable public interface Action extends Comparable<Action>
Resource.| Modifier and Type | Method and Description |
|---|---|
void |
execute(Resource resource,
ActionChain chain)
Executes the Action on the passed Resource.
|
int |
getPriority()
The priority of execution relative to the other Actions.
|
List<ActionId> |
getSupportedActionIds() |
compareToint getPriority()
List<ActionId> getSupportedActionIds()
void execute(Resource resource, ActionChain chain) throws ActionException
resource - the Resource on which to execute the Actionchain - the Action execution chain, needed to tell the next Action in the chain to execute (similar to the
Filter Chain in the Servlet API)ActionException - if an error happens during the Action executionCopyright © 2004–2014 XWiki. All rights reserved.