public class ScriptParams extends Object
Constructor and Description |
---|
ScriptParams() |
ScriptParams(Map<String,Object> variables) |
ScriptParams(String name,
Object value) |
Modifier and Type | Method and Description |
---|---|
ScriptParams |
add(String name,
Object value)
Add variable to result of map of variables
|
ScriptParams |
addAll(Map<String,Object> variables)
Add all parameter to result of map of variables
|
static ScriptParams |
create(String name,
Object value) |
static ScriptParams |
empty()
Build empty map of variable
|
boolean |
equals(Object o) |
int |
hashCode() |
Map<String,Object> |
toMap()
Build map of variables for GROOVY script
|
public static ScriptParams create(String name, Object value)
public ScriptParams add(String name, Object value)
name
- name of groovy variablevalue
- value of groovy variablepublic ScriptParams addAll(Map<String,Object> variables)
variables
- map of groovy variablespublic Map<String,Object> toMap()
public static ScriptParams empty()
Copyright 2016, WorkFusion, Inc.