Building ActivityTypes

Requirements

  • Java 8
  • Maven

Building new Activity Types

  1. Add the engineblock API to your project via Maven:
<dependency>
  <groupId>io.engineblock</groupId>
  <artifactId>eb-api</artifactId>
  <version>1.0.17</version>
  <type>pom</type>
</dependency>
  1. Implement the ActivityType interface. Use the [Annotated Diag ActivityType] as a reference point as needed.
  2. Add your new ActivityType implementation to the EngineBlock classpath.
  3. File Issues against the EngineBlock Project for any doc or API enhancements that you need.

Working directly on engineblock

You can download and locally build EngineBlock. Do this if you want contribute or otherwise experiment with the EngineBlock code base.

  1. Get the source:

    git clone http://github.com/engineblock/engineblock.git
    
  2. Build and install locally:

    pushd engineblock # assumes bash
    mvn clean install
    

This will install the engineblock artifacts to your local ~/.m2/repository.

Using ActivityTypes

There are a couple ways you can use your new ActivityTypes with the EngineBlock runtime. You can mix and match these as needed. The most common way to integrate your ActivityTypes with the engineblock core is with Maven, but the details on thi will vary by environment.