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 StringgetReason()The reason for the status.StringgetStatus()The status of the processingbooleanisPassed()Check if the temporary message process is passed
-
-
-
Method Detail
-
getStatus
public String getStatus()
Description copied from interface:TemporaryMessageProcessResultThe status of the processing- Specified by:
getStatusin interfaceTemporaryMessageProcessResult- Returns:
- the status
-
getReason
public String getReason()
Description copied from interface:TemporaryMessageProcessResultThe reason for the status. This should usually be set when the status is not passed to give more information to the user.- Specified by:
getReasonin interfaceTemporaryMessageProcessResult- Returns:
- the reason for the status
-
isPassed
public boolean isPassed()
Description copied from interface:TemporaryMessageProcessResultCheck if the temporary message process is passed- Specified by:
isPassedin interfaceTemporaryMessageProcessResult- Returns:
- if temporary message is passed
-
-