Class AMessageStartEventBpmnModeler<Model>

    • Constructor Detail

      • AMessageStartEventBpmnModeler

        public AMessageStartEventBpmnModeler()
    • Method Detail

      • createEventDefinition

        protected final List<de.xima.bpmn_model.api.element.bpmn.events.MessageEventDefinition> createEventDefinition​(IModelWorkflowTriggerParams<Model> params,
                                                                                                                      IWorkflowBpmnModelContext context,
                                                                                                                      IBoundMessageLocalizer localizer)
        Description copied from class: AStartEventBpmnModeler
        Creates the event definitions for the start event in the BPMN model. This is usually only a single event definition. If multiple definitions are returned, the BPMN standard considers this a Multiple event. If no definitions are returned, the BPMN standard considers this as a None event.
        Specified by:
        createEventDefinition in class AStartEventBpmnModeler<Model>
        Parameters:
        params - The parameters with the trigger to model, as provided by the workflow engine.
        context - The BPMN model context, as provided by the workflow engine.
        localizer - The localizer to use for localizing the name. This is the same as the boundMessageLocalizer obtained from the context.
        Returns:
        A list of event definitions for the start event in the BPMN model.
      • getInterfaceName

        protected abstract String getInterfaceName​(IModelWorkflowTriggerParams<Model> params,
                                                   IWorkflowBpmnModelContext context)
        The technical name of the Interface the declares the operation used by the message event.
        Parameters:
        params - The parameters with the trigger to model, as provided by the workflow engine.
        context - The BPMN model context, as provided by the workflow engine.
        Returns:
        The name of the interface.
      • getMessageName

        protected String getMessageName​(IModelWorkflowTriggerParams<Model> params,
                                        IWorkflowBpmnModelContext context)
        Gets the technical name of the Message that triggers the start event. The default implementation returns the message type. You may override this method to provide a more descriptive name.
        Parameters:
        params - The parameters with the trigger to model, as provided by the workflow engine.
        context - The BPMN model context, as provided by the workflow engine.
        Returns:
        The type of the message, which is used to identify the message in the BPMN model.
      • getMessageStructure

        protected abstract QName getMessageStructure​(IModelWorkflowTriggerParams<Model> params,
                                                     IWorkflowBpmnModelContext context)
        Gets the structure (type) of the Message that triggers the start event.
        Parameters:
        params - The parameters with the trigger to model, as provided by the workflow engine.
        context - The BPMN model context, as provided by the workflow engine.
        Returns:
        The structure of the message.
      • getMessageType

        protected abstract String getMessageType​(IModelWorkflowTriggerParams<Model> params,
                                                 IWorkflowBpmnModelContext context)
        Gets the internal identifier of the Message that triggers the start event.
        Parameters:
        params - The parameters with the trigger to model, as provided by the workflow engine.
        context - The BPMN model context, as provided by the workflow engine.
        Returns:
        The type of the message, which is used to identify the message in the BPMN model.
      • getOperationName

        protected abstract String getOperationName​(IModelWorkflowTriggerParams<Model> params,
                                                   IWorkflowBpmnModelContext context)
        The technical name of the Operation used by the message event.
        Parameters:
        params - The parameters with the trigger to model, as provided by the workflow engine.
        context - The BPMN model context, as provided by the workflow engine.
        Returns:
        The name of the operation.