Class TriggerAgentInstanceCmd

java.lang.Object
com.flowable.agent.engine.impl.cmd.TriggerAgentInstanceCmd
All Implemented Interfaces:
org.flowable.common.engine.impl.interceptor.Command<Void>

public class TriggerAgentInstanceCmd extends Object implements org.flowable.common.engine.impl.interceptor.Command<Void>
Author:
Filip Hrisafov
  • Field Details

    • agentInvocationId

      protected String agentInvocationId
    • operationKey

      protected String operationKey
    • eventInstance

      protected org.flowable.eventregistry.api.runtime.EventInstance eventInstance
  • Constructor Details

    • TriggerAgentInstanceCmd

      public TriggerAgentInstanceCmd(String agentInvocationId, String operationKey, org.flowable.eventregistry.api.runtime.EventInstance eventInstance)
  • Method Details

    • execute

      public Void execute(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
      Specified by:
      execute in interface org.flowable.common.engine.impl.interceptor.Command<Void>
    • createEventResultContent

      protected String createEventResultContent(com.fasterxml.jackson.databind.ObjectMapper objectMapper, AgentDefinitionModel agentDefinitionModel)
    • populateObjectNode

      protected void populateObjectNode(com.fasterxml.jackson.databind.node.ObjectNode objectNode, String propertyName, org.flowable.eventregistry.api.runtime.EventPayloadInstance payloadInstance, com.fasterxml.jackson.databind.ObjectMapper objectMapper)