public class ScriptEvaluatedEvent extends AbstractFilterableEvent
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 FormConstructor and Description |
---|
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(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. |
public ScriptEvaluatedEvent()
AlwaysMatchingEventFilter
, meaning that this event will match any
other event of the same type.public ScriptEvaluatedEvent(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 eventsCopyright © 2004–2021 XWiki. All rights reserved.