|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.observation.event.AbstractFilterableEvent
org.xwiki.script.event.ScriptEvaluatedEvent
public class ScriptEvaluatedEvent
An event triggered right after evaluation of a script macro (Groovy, Velocity, etc.) was finished (no matter successfully or not).
This event is supposed to be sent with org.xwiki.rendering.transformation.MacroTransformationContext as the
source and org.xwiki.rendering.macro.script.ScriptMacroParameters as data.
ScriptEvaluatingEvent,
Serialized Form| Constructor Summary | |
|---|---|
ScriptEvaluatedEvent()
Constructor initializing the event filter with an AlwaysMatchingEventFilter, meaning that this event will match any
other event of the same type. |
|
ScriptEvaluatedEvent(EventFilter eventFilter)
Constructor using a custom EventFilter. |
|
ScriptEvaluatedEvent(java.lang.String scriptMacroName)
Constructor initializing the event filter with a FixedNameEventFilter,
meaning that this event will match only events of the same type affecting the same passed name. |
|
| Method Summary |
|---|
| Methods inherited from class org.xwiki.observation.event.AbstractFilterableEvent |
|---|
getEventFilter, matches |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ScriptEvaluatedEvent()
AlwaysMatchingEventFilter, meaning that this event will match any
other event of the same type.
public ScriptEvaluatedEvent(java.lang.String scriptMacroName)
FixedNameEventFilter,
meaning that this event will match only events of the same type affecting the same passed name.
scriptMacroName - name of the macro to match, e.g. "velocity"public ScriptEvaluatedEvent(EventFilter eventFilter)
EventFilter.
eventFilter - the filter to use for matching events
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||