Interface ScriptInterface
-
- All Superinterfaces:
Serializable
public interface ScriptInterface extends Serializable
Created by Jeff Gaynor
on 2/4/20 at 11:14 AM
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidexecute(StateInterface state)Run this script with the given state.XPropertiesgetProperties()Properties the system may need about this script.
-
-
-
Method Detail
-
execute
void execute(StateInterface state)
Run this script with the given state.- Parameters:
state-
-
getProperties
XProperties getProperties()
Properties the system may need about this script. These are not set here but are determined by the needs of theScriptRuntimeEngineand the language. At the least, they should included a language and language version, plus some identifier.- Returns:
-
-