public class CompiledScript
extends java.lang.Object
Constructor and Description |
---|
CompiledScript(ScriptService.ScriptType type,
java.lang.String name,
java.lang.String lang,
java.lang.Object compiled)
Constructor for CompiledScript.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
compiled()
Method to get the compiled script object.
|
java.lang.String |
lang()
Method to get the language.
|
java.lang.String |
name()
Method to get the name of the script.
|
java.lang.String |
toString() |
ScriptService.ScriptType |
type()
Method to get the type of language.
|
public CompiledScript(ScriptService.ScriptType type, java.lang.String name, java.lang.String lang, java.lang.Object compiled)
type
- The type of script to be executed.name
- The name of the script to be executed.lang
- The language of the script to be executed.compiled
- The compiled script Object that is executable.public ScriptService.ScriptType type()
public java.lang.String name()
public java.lang.String lang()
public java.lang.Object compiled()
public java.lang.String toString()
toString
in class java.lang.Object