Search in sources :

Example 16 with PortableFloatParameterDefinition

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;
}
Also used : PortableFloatParameterDefinition(org.drools.workbench.models.datamodel.workitems.PortableFloatParameterDefinition) ActionWorkItemCol52(org.drools.workbench.models.guided.dtable.shared.model.ActionWorkItemCol52) PortableWorkDefinition(org.drools.workbench.models.datamodel.workitems.PortableWorkDefinition) PortableParameterDefinition(org.drools.workbench.models.datamodel.workitems.PortableParameterDefinition)

Aggregations

PortableFloatParameterDefinition (org.drools.workbench.models.datamodel.workitems.PortableFloatParameterDefinition)16 PortableBooleanParameterDefinition (org.drools.workbench.models.datamodel.workitems.PortableBooleanParameterDefinition)15 PortableWorkDefinition (org.drools.workbench.models.datamodel.workitems.PortableWorkDefinition)14 ActionExecuteWorkItem (org.drools.workbench.models.datamodel.rule.ActionExecuteWorkItem)13 RuleModel (org.drools.workbench.models.datamodel.rule.RuleModel)13 PortableIntegerParameterDefinition (org.drools.workbench.models.datamodel.workitems.PortableIntegerParameterDefinition)13 PortableStringParameterDefinition (org.drools.workbench.models.datamodel.workitems.PortableStringParameterDefinition)13 Test (org.junit.Test)13 ActionWorkItemCol52 (org.drools.workbench.models.guided.dtable.shared.model.ActionWorkItemCol52)7 ArrayList (java.util.ArrayList)6 ActionWorkItemFieldValue (org.drools.workbench.models.datamodel.rule.ActionWorkItemFieldValue)6 CompositeFactPattern (org.drools.workbench.models.datamodel.rule.CompositeFactPattern)6 FactPattern (org.drools.workbench.models.datamodel.rule.FactPattern)6 FromAccumulateCompositeFactPattern (org.drools.workbench.models.datamodel.rule.FromAccumulateCompositeFactPattern)6 FromCollectCompositeFactPattern (org.drools.workbench.models.datamodel.rule.FromCollectCompositeFactPattern)6 FromCompositeFactPattern (org.drools.workbench.models.datamodel.rule.FromCompositeFactPattern)6 FromEntryPointFactPattern (org.drools.workbench.models.datamodel.rule.FromEntryPointFactPattern)6 GuidedDTTemplateDataProvider (org.drools.workbench.models.guided.dtable.backend.util.GuidedDTTemplateDataProvider)6 TemplateDataProvider (org.drools.workbench.models.guided.dtable.backend.util.TemplateDataProvider)6 ActionCol52 (org.drools.workbench.models.guided.dtable.shared.model.ActionCol52)6