Interface CompiledTagScript
-
public interface CompiledTagScript
This represents a tag event script that has been compiled for execution.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getId()
The identifier for the script, usually indicating what event it responds to.void
invoke(java.lang.Object source, TagPath sourcePath, java.lang.Object[] parameters, boolean overflow)
Executes the script for the given source tags.boolean
isErrored()
void
setErrored(boolean value)
-
-
-
Method Detail
-
getId
java.lang.String getId()
The identifier for the script, usually indicating what event it responds to.
-
invoke
void invoke(java.lang.Object source, TagPath sourcePath, java.lang.Object[] parameters, boolean overflow) throws java.lang.Exception
Executes the script for the given source tags. The parameters passed in are dependent on the type of event being processed. The overflow parameter indicates that other events could not be processed and were dropped before this one.- Parameters:
parameters
- understood in the context of the event that is fired.- Throws:
java.lang.Exception
-
isErrored
boolean isErrored()
-
setErrored
void setErrored(boolean value)
-
-