public class ScriptBuilder
extends java.lang.Object
Script.| Constructor and Description |
|---|
ScriptBuilder()
Creates a new
ScriptBuilder. |
| Modifier and Type | Method and Description |
|---|---|
Script |
build()
Creates a
Script. |
java.lang.String |
getScriptLanguage()
Returns the language of the script.
|
java.lang.String |
getScriptText()
Returns the text of the script.
|
ScriptBuilder |
setScriptLanguage(java.lang.String scriptLanguage)
Sets the language of the script.
|
ScriptBuilder |
setScriptText(java.lang.String scriptText)
Sets the text of the script.
|
public java.lang.String getScriptLanguage()
public ScriptBuilder setScriptLanguage(java.lang.String scriptLanguage)
scriptLanguage - the script language.public java.lang.String getScriptText()
public ScriptBuilder setScriptText(java.lang.String scriptText)
scriptText - the script text.public Script build()
Script. Prior to calling this method the language
and the text should have been set.