View Javadoc
1   /*
2    * Copyright (C) 2007-2012 Argeo GmbH
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  package org.argeo.slc.core.execution.generator;
17  
18  import java.util.ArrayList;
19  import java.util.List;
20  
21  /**
22   * Storage Class for information required to
23   * instantiate a <code>RunnableCallFlow</code>:
24   * bean name of the flow, 
25   * path of the flow 
26   * and list of <code>RunnableCall</code>. 
27   *
28   */
29  public class RunnableCallFlowDescriptor {
30  	
31  	/**
32  	 * Bean name of the flow to instantiate
33  	 */
34  	private String beanName;
35  	
36  	/**
37  	 * Path of the flow to instantiate
38  	 */
39  	private String path;
40  	
41  	/**
42  	 * List of <code>RunnableCall</code> 
43  	 */
44  	private List<RunnableCall> runnableCalls = new ArrayList<RunnableCall>();
45  
46  	public String getBeanName() {
47  		return beanName;
48  	}
49  
50  	public void setBeanName(String beanName) {
51  		this.beanName = beanName;
52  	}
53  
54  	public String getPath() {
55  		return path;
56  	}
57  
58  	public void setPath(String path) {
59  		this.path = path;
60  	}
61  
62  	public List<RunnableCall> getRunnableCalls() {
63  		return runnableCalls;
64  	}
65  
66  	public void setRunnableCalls(List<RunnableCall> runnableCalls) {
67  		this.runnableCalls = runnableCalls;
68  	}
69  	
70  }