Class DefaultFulfillRequestedUploadResponse
- java.lang.Object
-
- de.xima.fc.common.form_record.chat.DefaultFulfillRequestedUploadResponse
-
- All Implemented Interfaces:
IFulfillRequestedUploadResponse
,Serializable
public final class DefaultFulfillRequestedUploadResponse extends Object implements IFulfillRequestedUploadResponse
Default POJO implementation ofIFulfillRequestedUploadResponse
.- Since:
- 8.2.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefaultFulfillRequestedUploadResponse(FormRecordChat chat, FormRecordMessage message, FormRecordMessageUploadRequest uploadRequest, ITriggeredWorkflowExecutionResult workflowExecutionResult)
Creates a new instance with the given parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormRecordChat
chat()
Gets the chat to which the message with the fulfilled upload request belongs.FormRecordMessage
message()
Gets the message with the fulfilled upload request.FormRecordMessageUploadRequest
uploadRequest()
Gets the upload request that was fulfilled.ITriggeredWorkflowExecutionResult
workflowExecutionResult()
Gets the result of the workflow execution, resulting from the fulfillment of the upload request.
-
-
-
Constructor Detail
-
DefaultFulfillRequestedUploadResponse
public DefaultFulfillRequestedUploadResponse(FormRecordChat chat, FormRecordMessage message, FormRecordMessageUploadRequest uploadRequest, ITriggeredWorkflowExecutionResult workflowExecutionResult)
Creates a new instance with the given parameters.- Parameters:
chat
- The chat to which the message belongs.message
- The message for which an upload request was fulfilled.uploadRequest
- The upload request that was fulfilled.workflowExecutionResult
- The result of the workflow execution.
-
-
Method Detail
-
chat
public FormRecordChat chat()
Description copied from interface:IFulfillRequestedUploadResponse
Gets the chat to which the message with the fulfilled upload request belongs.- Specified by:
chat
in interfaceIFulfillRequestedUploadResponse
- Returns:
- The chat to which the message with the fulfilled upload request belongs.
-
message
public FormRecordMessage message()
Description copied from interface:IFulfillRequestedUploadResponse
Gets the message with the fulfilled upload request.- Specified by:
message
in interfaceIFulfillRequestedUploadResponse
- Returns:
- The message with the fulfilled upload request.
-
uploadRequest
public FormRecordMessageUploadRequest uploadRequest()
Description copied from interface:IFulfillRequestedUploadResponse
Gets the upload request that was fulfilled.- Specified by:
uploadRequest
in interfaceIFulfillRequestedUploadResponse
- Returns:
- The upload request that was fulfilled.
-
workflowExecutionResult
public ITriggeredWorkflowExecutionResult workflowExecutionResult()
Description copied from interface:IFulfillRequestedUploadResponse
Gets the result of the workflow execution, resulting from the fulfillment of the upload request.- Specified by:
workflowExecutionResult
in interfaceIFulfillRequestedUploadResponse
- Returns:
- The result of the workflow execution.
-
-