Class CorrelationMessageDto


  • public class CorrelationMessageDto
    extends Object
    CorrelationMessageDto
    • Constructor Detail

      • CorrelationMessageDto

        public CorrelationMessageDto()
    • Method Detail

      • getMessageName

        public String getMessageName()
        The name of the message to deliver.
        Returns:
        messageName
      • setMessageName

        public void setMessageName​(String messageName)
      • getBusinessKey

        public String getBusinessKey()
        Used for correlation of process instances that wait for incoming messages. Will only correlate to executions that belong to a process instance with the provided business key.
        Returns:
        businessKey
      • setBusinessKey

        public void setBusinessKey​(String businessKey)
      • getTenantId

        public String getTenantId()
        Used to correlate the message for a tenant with the given id. Will only correlate to executions and process definitions which belong to the tenant. Must not be supplied in conjunction with a `withoutTenantId`.
        Returns:
        tenantId
      • setTenantId

        public void setTenantId​(String tenantId)
      • getWithoutTenantId

        public Boolean getWithoutTenantId()
        A Boolean value that indicates whether the message should only be correlated to executions and process definitions which belong to no tenant or not. Value may only be `true`, as `false` is the default behavior. Must not be supplied in conjunction with a `tenantId`.
        Returns:
        withoutTenantId
      • setWithoutTenantId

        public void setWithoutTenantId​(Boolean withoutTenantId)
      • getProcessInstanceId

        public String getProcessInstanceId()
        Used to correlate the message to the process instance with the given id.
        Returns:
        processInstanceId
      • setProcessInstanceId

        public void setProcessInstanceId​(String processInstanceId)
      • getCorrelationKeys

        public Map<String,​VariableValueDto> getCorrelationKeys()
        Used for correlation of process instances that wait for incoming messages. Has to be a JSON object containing key-value pairs that are matched against process instance variables during correlation. Each key is a variable name and each value a JSON variable value object with the following properties.
        Returns:
        correlationKeys
      • getLocalCorrelationKeys

        public Map<String,​VariableValueDto> getLocalCorrelationKeys()
        Local variables used for correlation of executions (process instances) that wait for incoming messages. Has to be a JSON object containing key-value pairs that are matched against local variables during correlation. Each key is a variable name and each value a JSON variable value object with the following properties.
        Returns:
        localCorrelationKeys
      • getProcessVariables

        public Map<String,​VariableValueDto> getProcessVariables()
        A map of variables that is injected into the triggered execution or process instance after the message has been delivered. Each key is a variable name and each value a JSON variable value object with the following properties.
        Returns:
        processVariables
      • getProcessVariablesLocal

        public Map<String,​VariableValueDto> getProcessVariablesLocal()
        A map of local variables that is injected into the triggered execution or process instance after the message has been delivered. Each key is a variable name and each value a JSON variable value object with the following properties.
        Returns:
        processVariablesLocal
      • getAll

        public Boolean getAll()
        A Boolean value that indicates whether the message should be correlated to exactly one entity or multiple entities. If the value is set to `false`, the message will be correlated to exactly one entity (execution or process definition). If the value is set to `true`, the message will be correlated to multiple executions and a process definition that can be instantiated by this message in one go.
        Returns:
        all
      • setAll

        public void setAll​(Boolean all)
      • getResultEnabled

        public Boolean getResultEnabled()
        A Boolean value that indicates whether the result of the correlation should be returned or not. If this property is set to `true`, there will be returned a list of message correlation result objects. Depending on the all property, there will be either one ore more returned results in the list. The default value is `false`, which means no result will be returned.
        Returns:
        resultEnabled
      • setResultEnabled

        public void setResultEnabled​(Boolean resultEnabled)
      • getVariablesInResultEnabled

        public Boolean getVariablesInResultEnabled()
        A Boolean value that indicates whether the result of the correlation should contain process variables or not. The parameter resultEnabled should be set to `true` in order to use this it. The default value is `false`, which means the variables will not be returned.
        Returns:
        variablesInResultEnabled
      • setVariablesInResultEnabled

        public void setVariablesInResultEnabled​(Boolean variablesInResultEnabled)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object