Package su.onno.process
Interface SubprocessCall<P,C,CS extends Enum<CS> & ProcessStepKey>
- Type Parameters:
P- parent payload typeC- child payload typeCS- child definition's step-key enum
public interface SubprocessCall<P,C,CS extends Enum<CS> & ProcessStepKey>
Typed invocation of a child process definition.
-
Method Summary
-
Method Details
-
definition
ProcessDefinition<C,CS> definition()Child definition to start. Its key and version are persisted with the child instance. -
payload
Build the child payload from the current parent payload. -
merge
Merge the completed child payload back into the parent.The default keeps the parent unchanged, which is suitable when the child communicates through its own domain records.
-