public interface ComponentEvent extends Event
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
coerceContext(int index,
java.lang.String desiredTypeName)
Coerces a context value to a particular type.
|
java.lang.Object[] |
getContext()
Returns the underlying
EventContext as a (possibly empty) array. |
EventContext |
getEventContext()
Returns the underlying event context.
|
boolean |
matches(java.lang.String eventType,
java.lang.String componentId,
int parameterCount)
Returns true if the event matches the provided criteria and the event has not yet been aborted.
|
isAborted, setMethodDescription, storeResultboolean matches(java.lang.String eventType, java.lang.String componentId, int parameterCount)
eventType - the type of event (case insensitive match)componentId - component is to match against (case insensitive), or the empty stringparameterCount - minimum number of context valuesjava.lang.Object coerceContext(int index, java.lang.String desiredTypeName)
index - the index of the context valuedesiredTypeName - the desired typejava.lang.Object[] getContext()
EventContext as a (possibly empty) array.EventContext getEventContext()
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.