Package dev.gmitch215.bytebox.workflow
Interface WorkflowEvent
- All Superinterfaces:
org.teavm.jso.JSObject
public interface WorkflowEvent
extends org.teavm.jso.JSObject
What started a Workflow instance, as the platform hands it to
run.- Since:
- 1.0.3
-
Method Summary
Modifier and TypeMethodDescriptionorg.teavm.jso.core.JSDateReturns the instance id.payload()Returns theparamsthe instance was created with.default longReturns when the instance was created, in milliseconds since the epoch.Methods inherited from interface org.teavm.jso.JSObject
cast
-
Method Details
-
payload
TSObject payload()Returns theparamsthe instance was created with.- Returns:
- the
paramsthe instance was created with
-
instanceId
String instanceId()Returns the instance id.- Returns:
- the instance id
-
getTimestamp
org.teavm.jso.core.JSDate getTimestamp() -
timestamp
default long timestamp()Returns when the instance was created, in milliseconds since the epoch.- Returns:
- when the instance was created, in milliseconds since the epoch
-