brainslug-maven-bpmn-plugin

brainslug is a control flow abstraction and workflow library

Лицензия

Лицензия

Категории

Категории

Maven Компиляция и сборка
Группа

Группа

com.drobisch
Идентификатор

Идентификатор

brainslug-maven-bpmn
Последняя версия

Последняя версия

0.22
Дата

Дата

Тип

Тип

maven-plugin
Описание

Описание

brainslug-maven-bpmn-plugin
brainslug is a control flow abstraction and workflow library

Скачать brainslug-maven-bpmn

Как подключить последнюю версию

<plugin>
    <groupId>com.drobisch</groupId>
    <artifactId>brainslug-maven-bpmn</artifactId>
    <version>0.22</version>
</plugin>

Зависимости

compile (8)

Идентификатор библиотеки Тип Версия
org.apache.maven : maven-plugin-api jar 3.2.3
org.apache.maven : maven-project jar 2.0.11
com.drobisch : brainslug-bpmn jar 0.22
org.activiti : activiti-bpmn-layout jar 5.14
org.activiti : activiti-bpmn-converter jar 5.14
org.activiti : activiti-bpmn-model jar 5.14
org.slf4j : slf4j-api jar 1.7.6
ch.qos.logback : logback-classic Необязательный jar 1.1.1

provided (1)

Идентификатор библиотеки Тип Версия
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.3

test (3)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.11
org.assertj : assertj-core jar 1.6.0
org.mockito : mockito-all jar 1.9.5

Модули Проекта

Данный проект не имеет модулей.

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.

Версии библиотеки

Версия
0.22