Uses of Interface
com.vaadin.signals.impl.CommandResult
Packages that use CommandResult
-
Uses of CommandResult in com.vaadin.signals.impl
Classes in com.vaadin.signals.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.signals.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.signals.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.Method parameters in com.vaadin.signals.impl with type arguments of type CommandResultModifier and TypeMethodDescriptionvoidMutableTreeRevision.apply(SignalCommand command, BiConsumer<Id, CommandResult> resultCollector) Applies a single command and passes the results to the provided handler.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.