예제 #1
0
 public static Map<String, ParameterDefinition> definitions() {
   if (_defns == null) {
     _defns = new LinkedHashMap<String, ParameterDefinition>();
     ParamDefn[] vs = values();
     for (ParamDefn v : vs) {
       _defns.put(v.paramName(), v.definition());
     }
   }
   return Collections.unmodifiableMap(_defns);
 }
예제 #2
0
 @Override
 public Map<String, ParameterDefinition> parameterDefinitions() throws Throwable {
   return ParamDefn.definitions();
 }