use of org.kie.workbench.common.stunner.bpmn.definition.property.reassignment.ReassignmentValue in project kie-wb-common by kiegroup.
the class ReassignmentValueValidatorTest method test10DigExpiresAtReassignmentValue.
@Test
public void test10DigExpiresAtReassignmentValue() {
ReassignmentValue value = new ReassignmentValue();
value.setDuration("1111111111d");
boolean result = validator.isValid(value, context);
assertTrue(result);
}
use of org.kie.workbench.common.stunner.bpmn.definition.property.reassignment.ReassignmentValue in project kie-wb-common by kiegroup.
the class ReassignmentWidget method ok.
@Override
public void ok() {
if (callback != null) {
List<ReassignmentValue> reassignments = getValue().stream().map(row -> row.toReassignmentValue()).collect(Collectors.toList());
callback.getData(new ReassignmentTypeListValue(reassignments));
}
view.hide();
}
Aggregations