Пример #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));
 }