2 * Copyright (C) 2007-2012 Mathieu Baudier
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
16 package org
.argeo
.slc
.execution
;
18 import java
.io
.Serializable
;
20 import org
.argeo
.slc
.BasicNameVersion
;
21 import org
.argeo
.slc
.NameVersion
;
23 /** A fully configured execution flow, ready to be executed. */
24 public class RealizedFlow
implements Serializable
{
25 private static final long serialVersionUID
= 1L;
27 private String moduleName
;
28 private String moduleVersion
;
29 private ExecutionFlowDescriptor flowDescriptor
;
31 public String
getModuleName() {
35 public void setModuleName(String moduleName
) {
36 this.moduleName
= moduleName
;
39 public NameVersion
getModuleNameVersion() {
40 return new BasicNameVersion(getModuleName(), getModuleVersion());
43 public String
getModuleVersion() {
47 public void setModuleVersion(String moduleVersion
) {
48 this.moduleVersion
= moduleVersion
;
51 public ExecutionFlowDescriptor
getFlowDescriptor() {
52 return flowDescriptor
;
55 public void setFlowDescriptor(ExecutionFlowDescriptor flowDescriptor
) {
56 this.flowDescriptor
= flowDescriptor
;