]> git.argeo.org Git - gpl/argeo-slc.git/blob - runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/execution/RealizedFlow.java
a2e33fa882dfe29a6d8b50aaf77927e727a3c445
[gpl/argeo-slc.git] / runtime / org.argeo.slc.specs / src / main / java / org / argeo / slc / execution / RealizedFlow.java
1 /*
2 * Copyright (C) 2007-2012 Mathieu Baudier
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.execution;
17
18 import java.io.Serializable;
19
20 import org.argeo.slc.BasicNameVersion;
21 import org.argeo.slc.NameVersion;
22
23 /** A fully configured execution flow, ready to be executed. */
24 public class RealizedFlow implements Serializable {
25 private static final long serialVersionUID = 1L;
26
27 private String moduleName;
28 private String moduleVersion;
29 private ExecutionFlowDescriptor flowDescriptor;
30
31 public String getModuleName() {
32 return moduleName;
33 }
34
35 public void setModuleName(String moduleName) {
36 this.moduleName = moduleName;
37 }
38
39 public NameVersion getModuleNameVersion() {
40 return new BasicNameVersion(getModuleName(), getModuleVersion());
41 }
42
43 public String getModuleVersion() {
44 return moduleVersion;
45 }
46
47 public void setModuleVersion(String moduleVersion) {
48 this.moduleVersion = moduleVersion;
49 }
50
51 public ExecutionFlowDescriptor getFlowDescriptor() {
52 return flowDescriptor;
53 }
54
55 public void setFlowDescriptor(ExecutionFlowDescriptor flowDescriptor) {
56 this.flowDescriptor = flowDescriptor;
57 }
58 }