Skip to main content

Java Library

Java Library is the resource that makes your own Java code available to a workflow. The activities in this group — Init Bean, Invoke Method, JSON to Bean, and Bean to JSON — each select a library and a version from it.

Artifacts are resolved from Maven coordinates, and every coordinate must carry a pinned SHA-256. That checksum is the download trust anchor, and the resource is fail-closed: an artifact that does not match is refused rather than loaded.

The resource has two tabs: Configuration and Advanced.

Configuration

FieldRequiredDescription
NameOptionalName of the resource.
DescriptionOptionalDescription of the resource.
CoordinatesOptionalMaven artifacts making up this library — the library itself plus any dependencies not already on the engine.

Each Coordinates row needs a pinned SHA-256.

Advanced

FieldRequiredDescription
Parent-first classloadingOptionalDefaults to selected.
Require checksumOptionalRefuse to load any coordinate without a matching pinned SHA-256. Defaults to selected.
Max artifact bytesOptionalPer-jar size cap. Defaults to 0, which uses engine.libraries.maxArtifactBytes.

Parent-first classloading

On, the default, reuses the engine's already-loaded dependencies. Off uses an isolated child-first loader, so the library carries its own dependency versions — useful when your library needs a version of a dependency that differs from the engine's.

warning

Leave Require checksum on. It is the fail-closed control that refuses any coordinate without a matching pinned SHA-256.