Skip to content

remcowesterhoud/dmn-builder-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DMN Builder API

DMN.createDRG(<id>)
	.decision(<id>, <decisionConsumer>) (1-* times)
	.requires(<id>)
	.done()

decisionConsumer (DecisionBuilder):

builder
	.literalExpression(<expression>)
	.variableName(<name>)
	.variableType(<type>)

option 1:
builder
	.decisionTable()
		.input(<expression>, <type>) (1-* times)
			.value(<expression>) (0-* times)
		.input(<expression>, <type>) (1-* times)
			.value(<expression>) (0-* times)
		.output(<name>, <type>) (1-* times)
			.value(<expression>) (0-* times)
.hitPolicy(<HitPolicy Enum>)

option 2:
builder
	.decisionTable()
		.input(<expression>, <type>) (1-* times)
		.input(<expression>, <type>) (1-* times)
		.output(<name>, <type>) (1-* times)
		.row()
    .inputs(<inputs>)
    .outputs(<outputs>)
.hitPolicy(<HitPolicy Enum>)

Community badge: Incubating Community extension badge

maven-template

Empty maven project with defaults that incorporates Camunda Community Hub best practices.

Usage

  • Use this as a template for new Camunda Community Hub projects. (https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-from-a-template)
  • Change names and URLs in pom.xml
    • groupId/artifactId
    <groupId>org.camunda.community.extension.name</groupId>
    <artifactId>give-me-a-name</artifactId>
    <version>0.0.1-SNAPSHOT</version>
    <packaging>jar</packaging>
    
    • URLs
    <scm>
      <url>https://github.com/camunda-community-hub/maven-template</url>
      <connection>scm:git:git@github.com:camunda-community-hub/maven-template.git</connection>
      <developerConnection>scm:git:git@github.com:camunda-community-hub/maven-tenmplate.git
      </developerConnection>
      <tag>HEAD</tag>
    </scm>
    
  • Add contribution guide to the repo ( e.g. Contributing to this project )
  • Select desired license and exchange LICENSE file

Features

Versions

Different versions are represented in different branches

  • main - Java 11

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages