Skip to content

Latest commit

 

History

History
46 lines (34 loc) · 2.9 KB

README.md

File metadata and controls

46 lines (34 loc) · 2.9 KB

CompileFlow API

This module contains the Java interfaces and value types used to call CompileFlow or implement its documented process SPIs. It depends on compileflow-common and has no third-party production dependencies.

Application APIs and process extension interfaces (SPIs) use separate packages. The general Extension framework is in compileflow-common, under com.alibaba.compileflow.common.extension. The engine implementation is in compileflow-core; compileflow-tbbpm and compileflow-bpmn add support for their respective process formats. This module also defines process identifiers, definition digests, and error types.

Use this module when

  • writing application code against ProcessEngine, ProcessDefinition, or ProcessRef;
  • implementing a documented process extension, such as a listener or script executor;
  • publishing a library that must not depend on a format parser or Spring Boot.

This module alone is not a runnable engine. Add compileflow-tbbpm or compileflow-bpmn for standalone use, or select the corresponding Spring Boot starter.

Packages

Package Purpose
com.alibaba.compileflow.engine Engine lifecycle, execution, results, and shared value types
com.alibaba.compileflow.engine.config Engine configuration and assembly
com.alibaba.compileflow.engine.preflight Source validation and runtime-preparation reports
com.alibaba.compileflow.engine.spi Application component lookup
com.alibaba.compileflow.engine.bootstrap Version-coupled API/Core assembly; not an application extension
com.alibaba.compileflow.engine.spi.event Typed lifecycle events and listeners
com.alibaba.compileflow.engine.spi.execution Action context, context propagation, retry, and failure policies
com.alibaba.compileflow.engine.spi.observability Trace correlation identifiers
com.alibaba.compileflow.engine.spi.routing Alias routing and targeting
com.alibaba.compileflow.engine.spi.script Script-language execution contracts

For implementation code, see the module map.

See Supported Surfaces, the API Reference, and the Extension Guide.

Module development

Run these checks from the repository root when changing this module:

./mvnw test -pl compileflow-api -am