Package org.bonitasoft.web.client.model
Class Message
- java.lang.Object
-
- org.bonitasoft.web.client.model.Message
-
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class Message extends Object implements Serializable
Use this resource to send BPM message events. Message events are caught by processes using `catch message event` flow nodes (Start, intermediate, boundary or receive tasks).- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CORRELATIONSstatic StringJSON_PROPERTY_MESSAGE_CONTENTstatic StringJSON_PROPERTY_MESSAGE_NAMEstatic StringJSON_PROPERTY_TARGET_FLOW_NODEstatic StringJSON_PROPERTY_TARGET_PROCESS
-
Constructor Summary
Constructors Constructor Description Message()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_MESSAGE_NAME
public static final String JSON_PROPERTY_MESSAGE_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TARGET_PROCESS
public static final String JSON_PROPERTY_TARGET_PROCESS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TARGET_FLOW_NODE
public static final String JSON_PROPERTY_TARGET_FLOW_NODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MESSAGE_CONTENT
public static final String JSON_PROPERTY_MESSAGE_CONTENT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CORRELATIONS
public static final String JSON_PROPERTY_CORRELATIONS
- See Also:
- Constant Field Values
-
-
Method Detail
-
setMessageName
public void setMessageName(String messageName)
-
getTargetProcess
@Nullable public String getTargetProcess()
the target process name- Returns:
- targetProcess
-
setTargetProcess
public void setTargetProcess(String targetProcess)
-
getTargetFlowNode
@Nullable public String getTargetFlowNode()
the target FlowNode name- Returns:
- targetFlowNode
-
setTargetFlowNode
public void setTargetFlowNode(String targetFlowNode)
-
messageContent
public Message messageContent(Map<String,MessageMessageContent> messageContent)
-
putMessageContentItem
public Message putMessageContentItem(String key, MessageMessageContent messageContentItem)
-
getMessageContent
@Nullable public Map<String,MessageMessageContent> getMessageContent()
the message content- Returns:
- messageContent
-
setMessageContent
public void setMessageContent(Map<String,MessageMessageContent> messageContent)
-
correlations
public Message correlations(Map<String,MessageMessageContent> correlations)
-
putCorrelationsItem
public Message putCorrelationsItem(String key, MessageMessageContent correlationsItem)
-
getCorrelations
@Nullable public Map<String,MessageMessageContent> getCorrelations()
the message correlations- Returns:
- correlations
-
setCorrelations
public void setCorrelations(Map<String,MessageMessageContent> correlations)
-
-