Class ProcessIdPolymorph

java.lang.Object
org.chenile.workflow.service.stmcmds.ProcessIdPolymorph
All Implemented Interfaces:
org.chenile.mcp.model.ChenilePolymorphProvider

public class ProcessIdPolymorph extends Object implements org.chenile.mcp.model.ChenilePolymorphProvider
The StateEntityService's processById is a polymorphic method. It supports different signatures for different events. The callback action determines the payload type for different events. The events are defined by the work flow store.
Remember that this handles the default Payload (not client specific payloads for multi-tenant systems)
  • Field Details

  • Constructor Details

  • Method Details

    • getVariants

      public List<org.chenile.mcp.model.ChenilePolymorphVariant> getVariants(ChenileServiceDefinition serviceDefinition, OperationDefinition operationDefinition)
      Specified by:
      getVariants in interface org.chenile.mcp.model.ChenilePolymorphProvider