public class ScriptlerScript extends AbstractScript
Modifier and Type | Class and Description |
---|---|
static class |
ScriptlerScript.DescriptorImpl |
Constructor and Description |
---|
ScriptlerScript(String scriptlerScriptId,
List<ScriptlerScriptParameter> parameters) |
Modifier and Type | Method and Description |
---|---|
Object |
eval()
Evaluates the script.
|
Object |
eval(Map<String,String> parameters)
Evaluates the script using the given parameters binding parameters.
|
Map<String,String> |
getParameters() |
String |
getScriptlerScriptId() |
GroovyScript |
toGroovyScript()
Converts this scriptler script to a GroovyScript.
|
all, getDescriptor
@DataBoundConstructor public ScriptlerScript(String scriptlerScriptId, List<ScriptlerScriptParameter> parameters)
public String getScriptlerScriptId()
public Object eval()
Script
public Object eval(Map<String,String> parameters)
Script
parameters
- binding parameterspublic GroovyScript toGroovyScript()
Copyright © 2016. All rights reserved.