Interface PublishPrimitive.PublishCommand

All Known Implementing Classes:
PrimitiveCommands.SimplePublishCommand
Enclosing interface:
PublishPrimitive

public static interface PublishPrimitive.PublishCommand
Parameter object for the primitive.
  • Method Summary

    Modifier and Type
    Method
    Description
    Event to publish.
    Logical step name recorded with the published event.
  • Method Details

    • stepName

      String stepName()
      Logical step name recorded with the published event. Forms the durable identifier of the step.
      Returns:
      step name
    • event

      EventMessage event()
      Event to publish. Its type, payload, identifier and timestamp are published as-is.
      Returns:
      event message