use of org.camunda.bpm.model.cmmn.instance.TimerExpression in project camunda-cmmn-model by camunda.
the class TimerExpressionImpl method registerType.
public static void registerType(ModelBuilder modelBuilder) {
ModelElementTypeBuilder typeBuilder = modelBuilder.defineType(TimerExpression.class, CMMN_ELEMENT_TIMER_EXPRESSION).namespaceUri(CMMN11_NS).extendsType(Expression.class).instanceProvider(new ModelElementTypeBuilder.ModelTypeInstanceProvider<TimerExpression>() {
public TimerExpression newInstance(ModelTypeInstanceContext instanceContext) {
return new TimerExpressionImpl(instanceContext);
}
});
typeBuilder.build();
}
Aggregations