Package io.jmix.flowui.util
Class UnknownOperationResult
java.lang.Object
io.jmix.flowui.util.UnknownOperationResult
- All Implemented Interfaces:
- OperationResult
- 
Nested Class SummaryNested classes/interfaces inherited from interface io.jmix.flowui.util.OperationResultOperationResult.Status
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioncompose(Supplier<OperationResult> nextStep) Creates new operation result that represents composition of two operation results.voidfail()Adds fail callback to the operation result.voidresolveWith(OperationResult result) Resolve this result depending on the passed result.voidresume(OperationResult result) Resume action depending on the passed result.voidsuccess()Adds success callback to the operation result.toString()
- 
Constructor Details- 
UnknownOperationResultpublic UnknownOperationResult()
 
- 
- 
Method Details- 
getStatus- Specified by:
- getStatusin interface- OperationResult
- Returns:
- status of the operation
 
- 
composeDescription 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 interface- OperationResult
- Parameters:
- nextStep- the next operation result supplier
- Returns:
- new composite operation result
 
- 
thenDescription copied from interface:OperationResultAdds success callback to the operation result.- Specified by:
- thenin interface- OperationResult
- Parameters:
- runnable- callback
- Returns:
- this
 
- 
otherwiseDescription copied from interface:OperationResultAdds fail callback to the operation result.- Specified by:
- otherwisein interface- OperationResult
- Parameters:
- runnable- callback
- Returns:
- this
 
- 
failpublic void fail()
- 
successpublic void success()
- 
resolveWithResolve this result depending on the passed result. Alias forresume(OperationResult).- Parameters:
- result- dependency
 
- 
resumeResume action depending on the passed result.- Parameters:
- result- dependency
 
- 
toString
 
-