]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - cms/org.argeo.slc.spring/src/org/argeo/slc/core/execution/generator/RunnableCall.java
Clarify SLC project structure.
[gpl/argeo-slc.git] / cms / org.argeo.slc.spring / src / org / argeo / slc / core / execution / generator / RunnableCall.java
diff --git a/cms/org.argeo.slc.spring/src/org/argeo/slc/core/execution/generator/RunnableCall.java b/cms/org.argeo.slc.spring/src/org/argeo/slc/core/execution/generator/RunnableCall.java
new file mode 100644 (file)
index 0000000..d774072
--- /dev/null
@@ -0,0 +1,55 @@
+package org.argeo.slc.core.execution.generator;
+
+import java.util.Map;
+
+/**
+ * Storage class for information required to call a flow 
+ * of the Spring execution context: 
+ * bean name of the flow,
+ * variables to add to the Execution Context before the call 
+ * and variables (context values) to add to a Map 
+ * potentially referenced by the called flow 
+ */
+public class RunnableCall {
+       
+       /**
+        * Bean name of the flow to call
+        */
+       private String beanName;
+       
+       /**
+        * Variables to add to the execution context before the call
+        */
+       private Map<String, Object> executionVariables;
+       
+       /**
+        * Variables to add to the Map potentially referenced by
+        * the called flow
+        */
+       private Map<String, Object> contextValues;
+
+       public String getBeanName() {
+               return beanName;
+       }
+
+       public void setBeanName(String beanName) {
+               this.beanName = beanName;
+       }
+
+       public Map<String, Object> getExecutionVariables() {
+               return executionVariables;
+       }
+
+       public void setExecutionVariables(Map<String, Object> executionVariables) {
+               this.executionVariables = executionVariables;
+       }
+
+       public Map<String, Object> getContextValues() {
+               return contextValues;
+       }
+
+       public void setContextValues(Map<String, Object> contextValues) {
+               this.contextValues = contextValues;
+       }
+
+}