]>
git.argeo.org Git - gpl/argeo-slc.git/blob - org.argeo.slc.api/src/org/argeo/slc/deploy/ModuleDescriptor.java
2 * Copyright (C) 2007-2012 Argeo GmbH
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
.deploy
;
18 import java
.io
.Serializable
;
19 import java
.util
.HashMap
;
22 import org
.argeo
.slc
.DefaultNameVersion
;
24 /** The description of a versioned module. */
25 public class ModuleDescriptor
extends DefaultNameVersion
implements Serializable
{
26 private static final long serialVersionUID
= 4310820315478645419L;
28 private String description
;
29 private Map
<String
, String
> metadata
= new HashMap
<String
, String
>();
30 private Boolean started
= false;
32 public String
getTitle() {
36 public void setTitle(String title
) {
40 public String
getDescription() {
44 public void setDescription(String description
) {
45 this.description
= description
;
48 /** @deprecated use {@link #getTitle()} instead */
49 public String
getLabel() {
53 /** @deprecated use {@link #setTitle(String)} instead */
54 public void setLabel(String label
) {
58 public Map
<String
, String
> getMetadata() {
62 public void setMetadata(Map
<String
, String
> metadata
) {
63 this.metadata
= metadata
;
66 public Boolean
getStarted() {
70 public void setStarted(Boolean started
) {
71 this.started
= started
;