use of org.camunda.bpm.model.bpmn.instance.ParallelGateway in project camunda-bpmn-model by camunda.
the class ParallelGatewayImpl method registerType.
public static void registerType(ModelBuilder modelBuilder) {
ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(ParallelGateway.class, BPMN_ELEMENT_PARALLEL_GATEWAY).namespaceUri(BPMN20_NS).extendsType(Gateway.class).instanceProvider(new ModelTypeInstanceProvider<ParallelGateway>() {
public ParallelGateway newInstance(ModelTypeInstanceContext instanceContext) {
return new ParallelGatewayImpl(instanceContext);
}
});
/**
* camunda extensions
*/
camundaAsyncAttribute = typeBuilder.booleanAttribute(CAMUNDA_ATTRIBUTE_ASYNC).namespace(CAMUNDA_NS).defaultValue(false).build();
typeBuilder.build();
}
Aggregations