]> git.argeo.org Git - gpl/argeo-slc.git/blob - runtime/org.argeo.slc.core/src/main/java/org/argeo/slc/core/execution/generator/RunnableCallFlowDescriptor.java
Add license headers
[gpl/argeo-slc.git] / runtime / org.argeo.slc.core / src / main / java / org / argeo / slc / core / execution / generator / RunnableCallFlowDescriptor.java
1 /*
2 * Copyright (C) 2010 Mathieu Baudier <mbaudier@argeo.org>
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17 package org.argeo.slc.core.execution.generator;
18
19 import java.util.ArrayList;
20 import java.util.List;
21
22 /**
23 * Storage Class for information required to
24 * instantiate a <code>RunnableCallFlow</code>:
25 * bean name of the flow,
26 * path of the flow
27 * and list of <code>RunnableCall</code>.
28 *
29 */
30 public class RunnableCallFlowDescriptor {
31
32 /**
33 * Bean name of the flow to instantiate
34 */
35 private String beanName;
36
37 /**
38 * Path of the flow to instantiate
39 */
40 private String path;
41
42 /**
43 * List of <code>RunnableCall</code>
44 */
45 private List<RunnableCall> runnableCalls = new ArrayList<RunnableCall>();
46
47 public String getBeanName() {
48 return beanName;
49 }
50
51 public void setBeanName(String beanName) {
52 this.beanName = beanName;
53 }
54
55 public String getPath() {
56 return path;
57 }
58
59 public void setPath(String path) {
60 this.path = path;
61 }
62
63 public List<RunnableCall> getRunnableCalls() {
64 return runnableCalls;
65 }
66
67 public void setRunnableCalls(List<RunnableCall> runnableCalls) {
68 this.runnableCalls = runnableCalls;
69 }
70
71 }