예제 #1
0
 public Object getDynamic(String token, StaplerRequest req, StaplerResponse rsp) {
   if (ModuleName.isValid(token)) return getModule(token);
   return super.getDynamic(token, req, rsp);
 }
예제 #2
0
 public MavenModule getItem(String name) {
   return modules.get(ModuleName.fromString(name));
 }