示例#1
0
 @Override
 public Object getPropertyObject(String keyString, Bindings bindings) throws ScriptException {
   if (bindings != null) {
     bindings.put("station", this);
   }
   for (TestProperty tsp : getProperties()) {
     if (tsp.getName().equals(keyString)) {
       return tsp.getPropertyObject(bindings);
     }
   }
   if (getTestProject() != null) {
     return getTestProject().getPropertyObject(keyString, bindings);
   }
   return null;
 }