Package com.workfusion.rpa.helpers
Class ScriptParams
java.lang.Object
com.workfusion.rpa.helpers.ScriptParams
This class represent wrapper and builder of variables for GROOVY script.
-
Constructor Summary
ConstructorsConstructorDescriptionScriptParams(String name, Object value) ScriptParams(Map<String, Object> variables) -
Method Summary
Modifier and TypeMethodDescriptionAdd variable to result of map of variablesAdd all parameter to result of map of variablesstatic ScriptParamsstatic ScriptParamsempty()Build empty map of variablebooleaninthashCode()toMap()Build map of variables for GROOVY script
-
Constructor Details
-
ScriptParams
public ScriptParams() -
ScriptParams
-
ScriptParams
-
-
Method Details
-
create
-
add
Add variable to result of map of variables- Parameters:
name- name of groovy variablevalue- value of groovy variable- Returns:
- this this is object
-
addAll
Add all parameter to result of map of variables- Parameters:
variables- map of groovy variables- Returns:
- this this is object
-
toMap
Build map of variables for GROOVY script- Returns:
- map of variables for groovy script
-
empty
Build empty map of variable- Returns:
- empty map
-
equals
-
hashCode
public int hashCode()
-