Constructor and Description |
---|
ScriptBuilder()
Creates a new
ScriptBuilder . |
Modifier and Type | Method and Description |
---|---|
Script |
build()
Creates a
Script . |
String |
getScriptLanguage()
Returns the language of the script.
|
String |
getScriptText()
Returns the text of the script.
|
ScriptBuilder |
setScriptLanguage(String scriptLanguage)
Sets the language of the script.
|
ScriptBuilder |
setScriptText(String scriptText)
Sets the text of the script.
|
public String getScriptLanguage()
public ScriptBuilder setScriptLanguage(String scriptLanguage)
scriptLanguage
- the script language.public String getScriptText()
public ScriptBuilder setScriptText(String scriptText)
scriptText
- the script text.public Script build()
Script
.
Prior to calling this method the language and the text should have been
set.Copyright © 2019. All rights reserved.