]> git.argeo.org Git - gpl/argeo-slc.git/blob - runtime/org.argeo.slc.core/src/main/java/org/argeo/slc/core/execution/generator/RunnableCall.java
Improve SystemCall
[gpl/argeo-slc.git] / runtime / org.argeo.slc.core / src / main / java / org / argeo / slc / core / execution / generator / RunnableCall.java
1 package org.argeo.slc.core.execution.generator;
2
3 import java.util.Map;
4
5 /**
6 * Storage class for information required to call a flow
7 * of the Spring execution context:
8 * bean name of the flow,
9 * variables to add to the Execution Context before the call
10 * and variables (context values) to add to a Map
11 * potentially referenced by the called flow
12 */
13 public class RunnableCall {
14
15 /**
16 * Bean name of the flow to call
17 */
18 private String beanName;
19
20 /**
21 * Variables to add to the execution context before the call
22 */
23 private Map<String, Object> executionVariables;
24
25 /**
26 * Variables to add to the Map potentially referenced by
27 * the called flow
28 */
29 private Map<String, Object> contextValues;
30
31 public String getBeanName() {
32 return beanName;
33 }
34
35 public void setBeanName(String beanName) {
36 this.beanName = beanName;
37 }
38
39 public Map<String, Object> getExecutionVariables() {
40 return executionVariables;
41 }
42
43 public void setExecutionVariables(Map<String, Object> executionVariables) {
44 this.executionVariables = executionVariables;
45 }
46
47 public Map<String, Object> getContextValues() {
48 return contextValues;
49 }
50
51 public void setContextValues(Map<String, Object> contextValues) {
52 this.contextValues = contextValues;
53 }
54
55 }