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