use of org.kie.workbench.common.stunner.bpmn.backend.marshall.json.oryx.property.AssigneeTypeSerializer in project kie-wb-common by kiegroup.
the class CaseManagementOryxManagerTest method setup.
@Before
public void setup() {
OryxIdMappings oryxIdMappings = new Bpmn2OryxIdMappings(definitionManager, WorkItemDefinitionEmptyRegistry::new);
DefinitionUtils definitionUtils = new DefinitionUtils(definitionManager, factoryManager);
List<Bpmn2OryxPropertySerializer<?>> oryxPropertySerializers = new ArrayList<>();
oryxPropertySerializers.add(new AssigneeTypeSerializer());
oryxPropertySerializers.add(new AssignmentsTypeSerializer());
oryxPropertySerializers.add(new BooleanTypeSerializer());
oryxPropertySerializers.add(new ColorTypeSerializer());
oryxPropertySerializers.add(new DoubleTypeSerializer());
oryxPropertySerializers.add(new EnumTypeSerializer(definitionUtils));
oryxPropertySerializers.add(new IntegerTypeSerializer());
oryxPropertySerializers.add(new StringTypeSerializer());
oryxPropertySerializers.add(new VariablesTypeSerializer());
Bpmn2OryxPropertyManager oryxPropertyManager = new Bpmn2OryxPropertyManager(oryxPropertySerializers);
this.oryxManager = new CaseManagementOryxManager(oryxIdMappings, oryxPropertyManager);
}
Aggregations