use of org.drools.workbench.models.datamodel.workitems.PortableFloatParameterDefinition in project drools-wb by kiegroup.
the class ActionWorkItemSetFieldPluginTest method secondFakeWorkItem.
private ActionWorkItemCol52 secondFakeWorkItem() {
final ActionWorkItemCol52 workItemCol52 = new ActionWorkItemCol52();
final PortableWorkDefinition portableWorkDefinition = new PortableWorkDefinition();
final PortableParameterDefinition portableFloatParameterDefinition = new PortableFloatParameterDefinition();
portableFloatParameterDefinition.setName("FloatResult");
portableWorkDefinition.setResults(Collections.singleton(portableFloatParameterDefinition));
portableWorkDefinition.setName("FloatWorkItemName");
portableWorkDefinition.setDisplayName("FloatWorkItemDisplayName");
workItemCol52.setWorkItemDefinition(portableWorkDefinition);
return workItemCol52;
}
Aggregations