Skip to content
This repository was archived by the owner on Nov 21, 2025. It is now read-only.

Latest commit

 

History

History
56 lines (43 loc) · 4.42 KB

File metadata and controls

56 lines (43 loc) · 4.42 KB

camunda-decision

example incubating Build Status Codacy Badge sponsored Maven Central

Extension for easier, type safe interaction with camunda dmn.

Discontinued

The library was a working solution which has never been adopted for production use. It is now discontinued and the repository is archived because the code is still valuable.

If you want to continue working with it - please send us a direct message.

Usage

<dependency>
    <groupId>io.holunda.decision</groupId>
    <artifactId>camunda-decision-model-api</artifactId>
    <version>0.0.1</version>
</dependency>

DmnWriter

Prints ascii table like:

┌──────────────────────────────────────────────────────────────────────────────┐
│                        DMN Example ('example') - v666                        │
├───────────────────┬───────────────────┬───────────────────┬──────────────────┤
│     Foo Value     │     Bar Value     │    VIP Status     │                  │
│  'foo' (INTEGER)  │  'bar' (BOOLEAN)  │ 'status' (STRING) │                  │
├───────────────────┴───────────────────┼───────────────────┼──────────────────┤
│               - INPUT -               │     - OUTPUT -    │ - DESCRIPTION -  │
├───────────────────┬───────────────────┼───────────────────┼──────────────────┤
│       > 10        │       true        │     "SILVER"      │  this is great   │
├───────────────────┼───────────────────┼───────────────────┼──────────────────┤
│       < 10        │         -         │     "BRONZE"      │   not so good    │
├───────────────────┼───────────────────┼───────────────────┼──────────────────┤
│         -         │       false       │      "GOLD"       │     amazing!     │
├───────────────────┼───────────────────┼───────────────────┼──────────────────┤
│         -         │         -         │     "DEFAULT"     │        -         │
└───────────────────┴───────────────────┴───────────────────┴──────────────────┘

FEEL