Package com.vaadin.signals
Interface SignalCommand.GlobalCommand
- All Superinterfaces:
SignalCommand
- All Known Implementing Classes:
SignalCommand.ClearOwnerCommand,SignalCommand.SnapshotCommand,SignalCommand.TransactionCommand
- Enclosing interface:
SignalCommand
public static sealed interface SignalCommand.GlobalCommand
extends SignalCommand
permits SignalCommand.ClearOwnerCommand, SignalCommand.TransactionCommand, SignalCommand.SnapshotCommand
A signal command that doesn't target a specific node.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.vaadin.signals.SignalCommand
SignalCommand.AdoptAsCommand, SignalCommand.AdoptAtCommand, SignalCommand.ClearCommand, SignalCommand.ClearOwnerCommand, SignalCommand.ConditionCommand, SignalCommand.GlobalCommand, SignalCommand.IncrementCommand, SignalCommand.InsertCommand, SignalCommand.KeyCommand, SignalCommand.KeyCondition, SignalCommand.LastUpdateCondition, SignalCommand.PositionCondition, SignalCommand.PutCommand, SignalCommand.PutIfAbsentCommand, SignalCommand.RemoveByKeyCommand, SignalCommand.RemoveCommand, SignalCommand.ScopeOwnerCommand, SignalCommand.SetCommand, SignalCommand.SnapshotCommand, SignalCommand.TransactionCommand, SignalCommand.ValueCommand, SignalCommand.ValueCondition -
Method Summary
Modifier and TypeMethodDescriptiondefault IdGets the id of the signal node that is targeted by this command.Methods inherited from interface com.vaadin.signals.SignalCommand
commandId
-
Method Details
-
targetNodeId
Description copied from interface:SignalCommandGets the id of the signal node that is targeted by this command. Some commands might target multiple nodes e.g. in a parent-child relationship and in that case this node is the primary node. Some commands, implementingSignalCommand.GlobalCommanddo not target any specific node and for those commands,Id.ZEROis used as the node id.- Specified by:
targetNodeIdin interfaceSignalCommand- Returns:
- id of the primary node targeted by this command, not
null
-