--- /dev/null
+/*\r
+ * Copyright (C) 2007-2012 Argeo GmbH\r
+ *\r
+ * Licensed under the Apache License, Version 2.0 (the "License");\r
+ * you may not use this file except in compliance with the License.\r
+ * You may obtain a copy of the License at\r
+ *\r
+ * http://www.apache.org/licenses/LICENSE-2.0\r
+ *\r
+ * Unless required by applicable law or agreed to in writing, software\r
+ * distributed under the License is distributed on an "AS IS" BASIS,\r
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+ * See the License for the specific language governing permissions and\r
+ * limitations under the License.\r
+ */\r
+package org.argeo.slc.core.execution.generator;\r
+\r
+import java.util.Map;\r
+\r
+/**\r
+ * Storage class for information required to call a flow \r
+ * of the Spring execution context: \r
+ * bean name of the flow,\r
+ * variables to add to the Execution Context before the call \r
+ * and variables (context values) to add to a Map \r
+ * potentially referenced by the called flow \r
+ */\r
+public class RunnableCall {\r
+ \r
+ /**\r
+ * Bean name of the flow to call\r
+ */\r
+ private String beanName;\r
+ \r
+ /**\r
+ * Variables to add to the execution context before the call\r
+ */\r
+ private Map<String, Object> executionVariables;\r
+ \r
+ /**\r
+ * Variables to add to the Map potentially referenced by\r
+ * the called flow\r
+ */\r
+ private Map<String, Object> contextValues;\r
+\r
+ public String getBeanName() {\r
+ return beanName;\r
+ }\r
+\r
+ public void setBeanName(String beanName) {\r
+ this.beanName = beanName;\r
+ }\r
+\r
+ public Map<String, Object> getExecutionVariables() {\r
+ return executionVariables;\r
+ }\r
+\r
+ public void setExecutionVariables(Map<String, Object> executionVariables) {\r
+ this.executionVariables = executionVariables;\r
+ }\r
+\r
+ public Map<String, Object> getContextValues() {\r
+ return contextValues;\r
+ }\r
+\r
+ public void setContextValues(Map<String, Object> contextValues) {\r
+ this.contextValues = contextValues;\r
+ }\r
+\r
+}\r