Package io.jmix.flowui.util
Class FailedOperationResult
java.lang.Object
io.jmix.flowui.util.FailedOperationResult
- All Implemented Interfaces:
 OperationResult
- 
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.flowui.util.OperationResult
OperationResult.Status - 
Field Summary
Fields - 
Method Summary
Modifier and TypeMethodDescriptioncompose(Supplier<OperationResult> nextStep) Creates new operation result that represents composition of two operation results.Adds fail callback to the operation result.Adds success callback to the operation result.toString() 
- 
Field Details
- 
INSTANCE
 
 - 
 - 
Method Details
- 
getStatus
- Specified by:
 getStatusin interfaceOperationResult- Returns:
 - status of the operation
 
 - 
compose
Description copied from interface:OperationResultCreates new operation result that represents composition of two operation results. If this result is resolved as successful, then the second result will be obtained from the passed supplier.- Specified by:
 composein interfaceOperationResult- Parameters:
 nextStep- the next operation result supplier- Returns:
 - new composite operation result
 
 - 
then
Description copied from interface:OperationResultAdds success callback to the operation result.- Specified by:
 thenin interfaceOperationResult- Parameters:
 runnable- callback- Returns:
 - this
 
 - 
otherwise
Description copied from interface:OperationResultAdds fail callback to the operation result.- Specified by:
 otherwisein interfaceOperationResult- Parameters:
 runnable- callback- Returns:
 - this
 
 - 
toString
 
 -