Search in sources :

Example 1 with InputProcessParameter

use of org.camunda.bpm.model.cmmn.instance.InputProcessParameter in project camunda-cmmn-model by camunda.

the class InputProcessParameterImpl method registerType.

public static void registerType(ModelBuilder modelBuilder) {
    ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(InputProcessParameter.class, CMMN_ELEMENT_INPUT).namespaceUri(CMMN11_NS).extendsType(ProcessParameter.class).instanceProvider(new ModelElementTypeBuilder.ModelTypeInstanceProvider<InputProcessParameter>() {

        public InputProcessParameter newInstance(ModelTypeInstanceContext instanceContext) {
            return new InputProcessParameterImpl(instanceContext);
        }
    });
    typeBuilder.build();
}
Also used : ModelElementTypeBuilder(org.camunda.bpm.model.xml.type.ModelElementTypeBuilder) ProcessParameter(org.camunda.bpm.model.cmmn.instance.ProcessParameter) InputProcessParameter(org.camunda.bpm.model.cmmn.instance.InputProcessParameter) ModelTypeInstanceContext(org.camunda.bpm.model.xml.impl.instance.ModelTypeInstanceContext) InputProcessParameter(org.camunda.bpm.model.cmmn.instance.InputProcessParameter)

Aggregations

InputProcessParameter (org.camunda.bpm.model.cmmn.instance.InputProcessParameter)1 ProcessParameter (org.camunda.bpm.model.cmmn.instance.ProcessParameter)1 ModelTypeInstanceContext (org.camunda.bpm.model.xml.impl.instance.ModelTypeInstanceContext)1 ModelElementTypeBuilder (org.camunda.bpm.model.xml.type.ModelElementTypeBuilder)1