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 Type
    Method
    Description
    org.teavm.jso.core.JSDate
     
    Returns the instance id.
    Returns the params the instance was created with.
    default long
    Returns 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 the params the instance was created with.
      Returns:
      the params the 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