示例#1
0
 @Override
 public TestProperty replaceValue(
     TestProperty value, Function<String, String> replacementFunction) {
   return new TestProperty(
       value
           .getConfiguration()
           .clone(
               replacementFunction.apply(value.getConfiguration().getName()), replacementFunction),
       replacementFunction.apply(value.getValue()));
 }
示例#2
0
 @Override
 public String getSearchKey(TestProperty value) {
   return value.getValue();
 }
示例#3
0
 @Override
 public Form getEditionForm(ProjectEntity entity, TestProperty value) {
   return Form.create()
       .with(Text.of("value").label("Value").value(value != null ? value.getValue() : ""));
 }