public interface ScriptExtension
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ILLEGAL_ARG
CTGIME212W
TMS Message to show that the passed in ScriptInterface does not implement
the correct ScriptInterface subclass.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List |
getContextItems()
Get all the scripting objects the extension exports wrapped as
ContextItem objects.
|
void |
initialize(ScriptInterface si,
ScriptContextDAO dao)
Initialize the ScriptExtension by providing a reference to the
ScriptInterface this extension should use to set its state.
|
static final java.lang.String ILLEGAL_ARG
java.util.List getContextItems()
void initialize(ScriptInterface si, ScriptContextDAO dao) throws ScriptException, java.lang.IllegalArgumentException
si - This ScriptInterface must be downcastable to the correct
specific type for the given extension.dao - The Data Access Object to use to lookup and place items into
the scripting environment.ScriptException - If an error occurs while initializing the extension.java.lang.IllegalArgumentException - If si is not the correct type for the given extension.