Class BaseTemporaryMessageProcessResult
- java.lang.Object
-
- com.flowable.engage.message.api.temporary.BaseTemporaryMessageProcessResult
-
- All Implemented Interfaces:
TemporaryMessageProcessResult
public class BaseTemporaryMessageProcessResult extends Object implements TemporaryMessageProcessResult
- Author:
- Filip Hrisafov
-
-
Constructor Summary
Constructors Constructor Description BaseTemporaryMessageProcessResult(String status, String reason)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getReason()
The reason for the status.String
getStatus()
The status of the processingboolean
isPassed()
Check if the temporary message process is passed
-
-
-
Method Detail
-
getStatus
public String getStatus()
Description copied from interface:TemporaryMessageProcessResult
The status of the processing- Specified by:
getStatus
in interfaceTemporaryMessageProcessResult
- Returns:
- the status
-
getReason
public String getReason()
Description copied from interface:TemporaryMessageProcessResult
The reason for the status. This should usually be set when the status is not passed to give more information to the user.- Specified by:
getReason
in interfaceTemporaryMessageProcessResult
- Returns:
- the reason for the status
-
isPassed
public boolean isPassed()
Description copied from interface:TemporaryMessageProcessResult
Check if the temporary message process is passed- Specified by:
isPassed
in interfaceTemporaryMessageProcessResult
- Returns:
- if temporary message is passed
-
-