1
|
package eu.dnetlib.functionality.modular.ui.workflows.objects;
|
2
|
|
3
|
import java.util.Map;
|
4
|
|
5
|
import com.google.common.collect.Maps;
|
6
|
|
7
|
public class NodeInfo {
|
8
|
|
9
|
private String name;
|
10
|
private String description;
|
11
|
private boolean start = false;
|
12
|
private boolean join = false;
|
13
|
private Map<String, String> params = Maps.newLinkedHashMap();
|
14
|
|
15
|
public NodeInfo(final String name, final String description, final boolean start, final boolean join, final Map<String, String> params) {
|
16
|
this.name = name;
|
17
|
this.description = description;
|
18
|
this.start = start;
|
19
|
this.join = join;
|
20
|
this.params = params;
|
21
|
}
|
22
|
|
23
|
public String getName() {
|
24
|
return name;
|
25
|
}
|
26
|
|
27
|
public void setName(final String name) {
|
28
|
this.name = name;
|
29
|
}
|
30
|
|
31
|
public String getDescription() {
|
32
|
return description;
|
33
|
}
|
34
|
|
35
|
public void setDescription(final String description) {
|
36
|
this.description = description;
|
37
|
}
|
38
|
|
39
|
public Map<String, String> getParams() {
|
40
|
return params;
|
41
|
}
|
42
|
|
43
|
public void setParams(final Map<String, String> params) {
|
44
|
this.params = params;
|
45
|
}
|
46
|
|
47
|
public final boolean isStart() {
|
48
|
return start;
|
49
|
}
|
50
|
|
51
|
public final void setStart(final boolean start) {
|
52
|
this.start = start;
|
53
|
}
|
54
|
|
55
|
public final boolean isJoin() {
|
56
|
return join;
|
57
|
}
|
58
|
|
59
|
public final void setJoin(final boolean join) {
|
60
|
this.join = join;
|
61
|
}
|
62
|
|
63
|
}
|