示例#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));
 }