public class ScriptInvocation
extends java.lang.Object
Constructor and Description |
---|
ScriptInvocation()
Constructs an empty ScriptInvocation.
|
ScriptInvocation(java.lang.String... resources)
Constructs a ScriptInvocation with a listing of resources to execute.
|
Modifier and Type | Method and Description |
---|---|
void |
addResource(java.lang.String resource)
Add an additional resource.
|
void |
setCode(java.lang.String raw)
Set the raw script code to execute.
|
java.lang.String |
toString() |
public ScriptInvocation()
public ScriptInvocation(java.lang.String... resources)
resources
- resource names referring to script files.public void addResource(java.lang.String resource)
resource
- resource name referring to a script file.public void setCode(java.lang.String raw)
raw
- Raw script code.public java.lang.String toString()
toString
in class java.lang.Object