Package org.xwiki.bridge.event
Class AbstractActionExecutionEvent
- java.lang.Object
-
- org.xwiki.bridge.event.AbstractActionExecutionEvent
-
- All Implemented Interfaces:
Serializable
,ActionExecutionEvent
,org.xwiki.observation.event.Event
- Direct Known Subclasses:
ActionExecutedEvent
,ActionExecutingEvent
public abstract class AbstractActionExecutionEvent extends Object implements Serializable, ActionExecutionEvent
Base class for all action execution related events.- Since:
- 3.2M3
- Version:
- $Id: ea1731306ec1afb49305d1187a6f64349a1264f0 $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractActionExecutionEvent()
Match anyActionExecutedEvent
.AbstractActionExecutionEvent(String actionName)
Constructor initializing the action name of the event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object object)
String
getActionName()
Gets the name of the action causing this event.int
hashCode()
boolean
matches(Object otherEvent)
String
toString()
-
-
-
Constructor Detail
-
AbstractActionExecutionEvent
public AbstractActionExecutionEvent()
Match anyActionExecutedEvent
.
-
AbstractActionExecutionEvent
public AbstractActionExecutionEvent(String actionName)
Constructor initializing the action name of the event.- Parameters:
actionName
- the name of the action
-
-
Method Detail
-
getActionName
public String getActionName()
Description copied from interface:ActionExecutionEvent
Gets the name of the action causing this event.- Specified by:
getActionName
in interfaceActionExecutionEvent
- Returns:
- the action causing this event, like
upload
orlogin
-
matches
public boolean matches(Object otherEvent)
- Specified by:
matches
in interfaceorg.xwiki.observation.event.Event
-
-