]> git.argeo.org Git - gpl/argeo-slc.git/blob - runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/deploy/ModuleDescriptor.java
Move ReailizedFlow to execution package
[gpl/argeo-slc.git] / runtime / org.argeo.slc.specs / src / main / java / org / argeo / slc / deploy / ModuleDescriptor.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.deploy;
17
18 import java.io.Serializable;
19 import java.util.HashMap;
20 import java.util.Map;
21
22 import org.argeo.slc.BasicNameVersion;
23
24 /** The description of a versioned module. */
25 public class ModuleDescriptor extends BasicNameVersion implements Serializable {
26 private static final long serialVersionUID = 4310820315478645419L;
27 private String title;
28 private String description;
29 private Map<String, String> metadata = new HashMap<String, String>();
30 private Boolean started = false;
31
32 public String getTitle() {
33 return title;
34 }
35
36 public void setTitle(String title) {
37 this.title = title;
38 }
39
40 public String getDescription() {
41 return description;
42 }
43
44 public void setDescription(String description) {
45 this.description = description;
46 }
47
48 /** @deprecated use {@link #getTitle()} instead */
49 public String getLabel() {
50 return title;
51 }
52
53 /** @deprecated use {@link #setTitle(String)} instead */
54 public void setLabel(String label) {
55 this.title = label;
56 }
57
58 public Map<String, String> getMetadata() {
59 return metadata;
60 }
61
62 public void setMetadata(Map<String, String> metadata) {
63 this.metadata = metadata;
64 }
65
66 public Boolean getStarted() {
67 return started;
68 }
69
70 public void setStarted(Boolean started) {
71 this.started = started;
72 }
73
74 }