Uses of Interface
com.vaadin.flow.signals.shared.impl.CommandResult
Packages that use CommandResult
-
Uses of CommandResult in com.vaadin.flow.signals.shared.impl
Classes in com.vaadin.flow.signals.shared.impl that implement CommandResultModifier and TypeClassDescriptionstatic final recordAn accepted command.static final recordA rejected command, together with the reason for the rejection.Methods in com.vaadin.flow.signals.shared.impl that return CommandResultModifier and TypeMethodDescriptionstatic CommandResultCommandResult.conditional(boolean condition, String reasonIfFailed) Creates an accepted or rejected result depending on the provided condition.Methods in com.vaadin.flow.signals.shared.impl that return types with arguments of type CommandResultModifier and TypeMethodDescriptionMutableTreeRevision.applyAndGetResults(List<SignalCommand> commands) Applies a sequence of commands and collects the results to a map.static Map<Id, CommandResult> CommandResult.rejectAll(Map<Id, CommandResult> results, String reason) Creates a copy of the given map of command results where all accepted results are replaced with the same rejection.Methods in com.vaadin.flow.signals.shared.impl with parameters of type CommandResultModifier and TypeMethodDescriptionvoidCommandsAndHandlers.CommandResultHandler.handle(CommandResult result) Handles the result of a command execution.voidSignalTree.CommandSubscriber.onCommandProcessed(SignalCommand command, CommandResult result) Called when a command has been processed.Method parameters in com.vaadin.flow.signals.shared.impl with type arguments of type CommandResultModifier and TypeMethodDescriptionprotected voidSignalTree.notifyProcessedCommandSubscribers(List<SignalCommand> commands, Map<Id, CommandResult> results) Notifies all subscribers after a command is processed.voidCommandsAndHandlers.notifyResultHandlers(Map<Id, CommandResult> results) Notifies and removes result handlers for the given results.voidCommandsAndHandlers.notifyResultHandlers(Map<Id, CommandResult> results, List<SignalCommand> commandOrder) Notifies and removes result handlers for the given results in the given order.static Map<Id, CommandResult> CommandResult.rejectAll(Map<Id, CommandResult> results, String reason) Creates a copy of the given map of command results where all accepted results are replaced with the same rejection.