Package dev.turboism.sdk.plugin
Interface PluginDescriptor.EventContract
- Enclosing interface:
- PluginDescriptor
public static interface PluginDescriptor.EventContract
A published public event contract artifact embedded in the plugin JAR. The artifact
is a class-only JAR under
META-INF/turboism/contracts/ carrying the event
records and their closed payload API types; the declared sha256 pins the exact
published bytes.-
Method Summary
Modifier and TypeMethodDescriptionartifact()JAR entry path of the artifact, underMETA-INF/turboism/contracts/.id()Returns the public event contract identifier used by event imports and exports.sha256()SHA-256 of the embedded artifact bytes, lowercase hexadecimal.version()Returns the published contract version checked against consumer version ranges.
-
Method Details
-
id
String id()Returns the public event contract identifier used by event imports and exports. -
version
String version()Returns the published contract version checked against consumer version ranges. -
artifact
String artifact()JAR entry path of the artifact, underMETA-INF/turboism/contracts/. -
sha256
String sha256()SHA-256 of the embedded artifact bytes, lowercase hexadecimal.
-