brainslug root pom

brainslug is a control flow abstraction and workflow library

License

License

GroupId

GroupId

de.androbit
ArtifactId

ArtifactId

brainslug
Last Version

Last Version

0.21
Release Date

Release Date

Type

Type

pom
Description

Description

brainslug root pom
brainslug is a control flow abstraction and workflow library
Project URL

Project URL

http://github.com/adrobisch/brainslug
Source Code Management

Source Code Management

http://github.com/adrobisch/brainslug

Download brainslug

Filename Size
brainslug-0.21.pom 6 KB
Browse

How to add to project

<!-- https://jarcasting.com/artifacts/de.androbit/brainslug/ -->
<dependency>
    <groupId>de.androbit</groupId>
    <artifactId>brainslug</artifactId>
    <version>0.21</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/de.androbit/brainslug/
implementation 'de.androbit:brainslug:0.21'
// https://jarcasting.com/artifacts/de.androbit/brainslug/
implementation ("de.androbit:brainslug:0.21")
'de.androbit:brainslug:pom:0.21'
<dependency org="de.androbit" name="brainslug" rev="0.21">
  <artifact name="brainslug" type="pom" />
</dependency>
@Grapes(
@Grab(group='de.androbit', module='brainslug', version='0.21')
)
libraryDependencies += "de.androbit" % "brainslug" % "0.21"
[de.androbit/brainslug "0.21"]

Dependencies

compile (2)

Group / Artifact Type Version
org.slf4j : slf4j-api jar 1.7.6
ch.qos.logback : logback-classic Optional jar 1.1.1

test (3)

Group / Artifact Type Version
junit : junit jar 4.11
org.assertj : assertj-core jar 1.6.0
org.mockito : mockito-all jar 1.9.5

Project Modules

  • core
  • model
  • execution
  • bpmn
  • juel
  • renderer
  • quartz
  • jpa
  • spring
  • maven-renderer
  • maven-bpmn
  • docs
  • examples/maven-plugin

brainslug

brainslug

brainslug is a control flow abstraction library. It enables you to model your application flow as a graph of typed nodes, which can be transformed to different representations or be executed within a customisable environment.

Maven Central

Download

The current version is available in the maven central repository

Hello World

FlowDefinition helloWorldFlow = new FlowBuilder() {
  @Override
  public void define() {
    flowId(id("helloFlow"));

    start(id("start")).execute(task(id("helloTask"), new SimpleTask() {
      @Override
      public void execute(ExecutionContext context) {
        System.out.println("Hello World!");
      }
    }));
  }
}.getDefinition();

//  create brainslug context with defaults
BrainslugContext context = new BrainslugContextBuilder().build();
context.addFlowDefinition(helloWorldFlow);

context.startFlow(helloWorldFlow.getId(), IdUtil.id("start"));

Rendered as:

hello_flow

Documentation

Check the project Github Pages for examples and documentation.

Versioning

Starting with version 1.0.0, brainslug will follow semantic versioning. During the 0.x releases, the minor (.x) releases may include breaking changes.

License

brainslug is published under the terms of the Apache 2.0 License. See the LICENSE file.

Versions

Version
0.21
0.20
0.19
0.18
0.17
0.16
0.15
0.14
0.13
0.12
0.11
0.9
0.8
0.7
0.6