1 package org.lsst.ccs.config;
2
3 import org.lsst.ccs.bus.CommandExecutor;
4 import org.lsst.ccs.bus.Command;
5
6
7
8
9
10
11
12
13 public class BootCommand extends Command {
14 private static final long serialVersionUID = 9028522241007700060L;
15 private DeploymentDescriptor descriptor ;
16 private String subsystemName ;
17 private String configName ;
18 private String tag ;
19 private Object configurationData ;
20
21
22
23
24
25
26
27
28
29 public BootCommand(String destination ,String subsystemName, String configName, String tag,
30 Object configurationData) {
31 super("",0, destination,null) ;
32 this.subsystemName = subsystemName;
33 this.configName = configName;
34 this.tag = tag;
35 this.configurationData = configurationData;
36 }
37
38 public DeploymentDescriptor getDescriptor() {
39 return descriptor;
40 }
41
42 public void setDescriptor(DeploymentDescriptor descriptor) {
43 this.descriptor = descriptor;
44 }
45
46 public String getSubsystemName() {
47 return subsystemName;
48 }
49
50 public String getConfigName() {
51 return configName;
52 }
53
54 public String getTag() {
55 return tag;
56 }
57
58 public Object getConfigurationData() {
59 return configurationData;
60 }
61
62
63
64 public Object execute(CommandExecutor s) {
65 return null ;
66 }
67 @Override
68 public String getMessageType() {
69 return "lsst.bootCommand";
70 }
71 }