Package com.vaadin.signals.operations
Class SignalOperation<T>
java.lang.Object
com.vaadin.signals.operations.SignalOperation<T>
- Type Parameters:
T- the result type
- Direct Known Subclasses:
CancelableOperation,InsertOperation,TransactionOperation
An operation triggered on a signal instance. The result will be populated
when the operation has been confirmed. The type of the result depends on the
operation type.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordA failed signal operation result.static final recordA successful signal operation result.static interfaceThe result of a signal operation. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SignalOperation
public SignalOperation()
-
-
Method Details
-
result
Gets the eventual operation result.- Returns:
- a completable future with the operation result, not
null
-