Class SignalOperation<T>

java.lang.Object
com.vaadin.signals.operations.SignalOperation<T>
Type Parameters:
T - the result type
Direct Known Subclasses:
CancelableOperation, InsertOperation, TransactionOperation

public class SignalOperation<T> extends Object
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.
  • Constructor Details

    • SignalOperation

      public SignalOperation()
      Creates a new signal operation that will get a result later.
    • SignalOperation

      public SignalOperation(SignalOperation.ResultOrError<T> resultOrError)
      Creates a new signal operation that already has a result.
      Parameters:
      resultOrError - the result of the operation, not null
  • Method Details