Package org.openapitools.client.model
Class CorrelationMessageDto
- java.lang.Object
-
- org.openapitools.client.model.CorrelationMessageDto
-
public class CorrelationMessageDto extends Object
CorrelationMessageDto
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_ALLstatic StringSERIALIZED_NAME_BUSINESS_KEYstatic StringSERIALIZED_NAME_CORRELATION_KEYSstatic StringSERIALIZED_NAME_LOCAL_CORRELATION_KEYSstatic StringSERIALIZED_NAME_MESSAGE_NAMEstatic StringSERIALIZED_NAME_PROCESS_INSTANCE_IDstatic StringSERIALIZED_NAME_PROCESS_VARIABLESstatic StringSERIALIZED_NAME_PROCESS_VARIABLES_LOCALstatic StringSERIALIZED_NAME_RESULT_ENABLEDstatic StringSERIALIZED_NAME_TENANT_IDstatic StringSERIALIZED_NAME_VARIABLES_IN_RESULT_ENABLEDstatic StringSERIALIZED_NAME_WITHOUT_TENANT_ID
-
Constructor Summary
Constructors Constructor Description CorrelationMessageDto()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CorrelationMessageDtoall(Boolean all)CorrelationMessageDtobusinessKey(String businessKey)CorrelationMessageDtocorrelationKeys(Map<String,VariableValueDto> correlationKeys)booleanequals(Object o)BooleangetAll()A Boolean value that indicates whether the message should be correlated to exactly one entity or multiple entities.StringgetBusinessKey()Used for correlation of process instances that wait for incoming messages.Map<String,VariableValueDto>getCorrelationKeys()Used for correlation of process instances that wait for incoming messages.Map<String,VariableValueDto>getLocalCorrelationKeys()Local variables used for correlation of executions (process instances) that wait for incoming messages.StringgetMessageName()The name of the message to deliver.StringgetProcessInstanceId()Used to correlate the message to the process instance with the given id.Map<String,VariableValueDto>getProcessVariables()A map of variables that is injected into the triggered execution or process instance after the message has been delivered.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.BooleangetResultEnabled()A Boolean value that indicates whether the result of the correlation should be returned or not.StringgetTenantId()Used to correlate the message for a tenant with the given id.BooleangetVariablesInResultEnabled()A Boolean value that indicates whether the result of the correlation should contain process variables or not.BooleangetWithoutTenantId()A Boolean value that indicates whether the message should only be correlated to executions and process definitions which belong to no tenant or not.inthashCode()CorrelationMessageDtolocalCorrelationKeys(Map<String,VariableValueDto> localCorrelationKeys)CorrelationMessageDtomessageName(String messageName)CorrelationMessageDtoprocessInstanceId(String processInstanceId)CorrelationMessageDtoprocessVariables(Map<String,VariableValueDto> processVariables)CorrelationMessageDtoprocessVariablesLocal(Map<String,VariableValueDto> processVariablesLocal)CorrelationMessageDtoputCorrelationKeysItem(String key, VariableValueDto correlationKeysItem)CorrelationMessageDtoputLocalCorrelationKeysItem(String key, VariableValueDto localCorrelationKeysItem)CorrelationMessageDtoputProcessVariablesItem(String key, VariableValueDto processVariablesItem)CorrelationMessageDtoputProcessVariablesLocalItem(String key, VariableValueDto processVariablesLocalItem)CorrelationMessageDtoresultEnabled(Boolean resultEnabled)voidsetAll(Boolean all)voidsetBusinessKey(String businessKey)voidsetCorrelationKeys(Map<String,VariableValueDto> correlationKeys)voidsetLocalCorrelationKeys(Map<String,VariableValueDto> localCorrelationKeys)voidsetMessageName(String messageName)voidsetProcessInstanceId(String processInstanceId)voidsetProcessVariables(Map<String,VariableValueDto> processVariables)voidsetProcessVariablesLocal(Map<String,VariableValueDto> processVariablesLocal)voidsetResultEnabled(Boolean resultEnabled)voidsetTenantId(String tenantId)voidsetVariablesInResultEnabled(Boolean variablesInResultEnabled)voidsetWithoutTenantId(Boolean withoutTenantId)CorrelationMessageDtotenantId(String tenantId)StringtoString()CorrelationMessageDtovariablesInResultEnabled(Boolean variablesInResultEnabled)CorrelationMessageDtowithoutTenantId(Boolean withoutTenantId)
-
-
-
Field Detail
-
SERIALIZED_NAME_MESSAGE_NAME
public static final String SERIALIZED_NAME_MESSAGE_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BUSINESS_KEY
public static final String SERIALIZED_NAME_BUSINESS_KEY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TENANT_ID
public static final String SERIALIZED_NAME_TENANT_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_WITHOUT_TENANT_ID
public static final String SERIALIZED_NAME_WITHOUT_TENANT_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROCESS_INSTANCE_ID
public static final String SERIALIZED_NAME_PROCESS_INSTANCE_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CORRELATION_KEYS
public static final String SERIALIZED_NAME_CORRELATION_KEYS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LOCAL_CORRELATION_KEYS
public static final String SERIALIZED_NAME_LOCAL_CORRELATION_KEYS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROCESS_VARIABLES
public static final String SERIALIZED_NAME_PROCESS_VARIABLES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROCESS_VARIABLES_LOCAL
public static final String SERIALIZED_NAME_PROCESS_VARIABLES_LOCAL
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ALL
public static final String SERIALIZED_NAME_ALL
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_RESULT_ENABLED
public static final String SERIALIZED_NAME_RESULT_ENABLED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VARIABLES_IN_RESULT_ENABLED
public static final String SERIALIZED_NAME_VARIABLES_IN_RESULT_ENABLED
- See Also:
- Constant Field Values
-
-
Method Detail
-
messageName
public CorrelationMessageDto messageName(String messageName)
-
getMessageName
public String getMessageName()
The name of the message to deliver.- Returns:
- messageName
-
setMessageName
public void setMessageName(String messageName)
-
businessKey
public CorrelationMessageDto businessKey(String businessKey)
-
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)
-
tenantId
public CorrelationMessageDto tenantId(String tenantId)
-
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)
-
withoutTenantId
public CorrelationMessageDto withoutTenantId(Boolean withoutTenantId)
-
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)
-
processInstanceId
public CorrelationMessageDto processInstanceId(String processInstanceId)
-
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)
-
correlationKeys
public CorrelationMessageDto correlationKeys(Map<String,VariableValueDto> correlationKeys)
-
putCorrelationKeysItem
public CorrelationMessageDto putCorrelationKeysItem(String key, VariableValueDto correlationKeysItem)
-
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
-
setCorrelationKeys
public void setCorrelationKeys(Map<String,VariableValueDto> correlationKeys)
-
localCorrelationKeys
public CorrelationMessageDto localCorrelationKeys(Map<String,VariableValueDto> localCorrelationKeys)
-
putLocalCorrelationKeysItem
public CorrelationMessageDto putLocalCorrelationKeysItem(String key, VariableValueDto localCorrelationKeysItem)
-
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
-
setLocalCorrelationKeys
public void setLocalCorrelationKeys(Map<String,VariableValueDto> localCorrelationKeys)
-
processVariables
public CorrelationMessageDto processVariables(Map<String,VariableValueDto> processVariables)
-
putProcessVariablesItem
public CorrelationMessageDto putProcessVariablesItem(String key, VariableValueDto processVariablesItem)
-
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
-
setProcessVariables
public void setProcessVariables(Map<String,VariableValueDto> processVariables)
-
processVariablesLocal
public CorrelationMessageDto processVariablesLocal(Map<String,VariableValueDto> processVariablesLocal)
-
putProcessVariablesLocalItem
public CorrelationMessageDto putProcessVariablesLocalItem(String key, VariableValueDto processVariablesLocalItem)
-
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
-
setProcessVariablesLocal
public void setProcessVariablesLocal(Map<String,VariableValueDto> processVariablesLocal)
-
all
public CorrelationMessageDto all(Boolean all)
-
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)
-
resultEnabled
public CorrelationMessageDto resultEnabled(Boolean resultEnabled)
-
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)
-
variablesInResultEnabled
public CorrelationMessageDto variablesInResultEnabled(Boolean variablesInResultEnabled)
-
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)
-
-