open class StaticScriptSource : ScriptSource
Static implementation of the org.springframework.scripting.ScriptSource interface, encapsulating a given String that contains the script source text. Supports programmatic updates of the script String.
Author
Rob Harrop
Author
Juergen Hoeller
Since
2.0
StaticScriptSource(script: String)StaticScriptSource(script: String, className: String)
Create a new StaticScriptSource for the given script. |
open fun getScriptAsString(): String |
|
open fun isModified(): Boolean |
|
open fun setScript(script: String): Unit
Set a fresh script String, overriding the previous script. |
|
open fun suggestedClassName(): String |
|
open fun toString(): String |