View Javadoc

1   package org.lsst.ccs.command.demo.subsystem;
2   
3   import org.lsst.ccs.command.annotations.Command;
4   
5   /**
6    *
7    * @author tonyj
8    */
9   public class Module {
10      private String moduleName;
11  
12      public Module(String moduleName) {
13          this.moduleName = moduleName;
14      }
15  
16      @Command(description = "Get module name")
17      public String showModuleName() {
18          return moduleName;
19      }
20      
21  }