Record Class PubSubOption.ExcludePublisher
java.lang.Object
java.lang.Record
org.wpilib.networktables.PubSubOption.ExcludePublisher
- Record Components:
publisher- publisher to exclude
- All Implemented Interfaces:
PubSubOption
- Enclosing interface:
PubSubOption
public static record PubSubOption.ExcludePublisher(Publisher publisher)
extends Record
implements PubSubOption
Don't queue value updates for the given publisher. Only has an effect on subscriptions. Only
one exclusion may be set.
-
Nested Class Summary
Nested classes/interfaces inherited from interface PubSubOption
PubSubOption.DisableLocal, PubSubOption.DisableRemote, PubSubOption.ExcludePublisher, PubSubOption.ExcludePublisherHandle, PubSubOption.ExcludeSelf, PubSubOption.Hidden, PubSubOption.KeepDuplicates, PubSubOption.Periodic, PubSubOption.PollStorage, PubSubOption.SendAll, PubSubOption.TopicsOnly -
Field Summary
Fields inherited from interface PubSubOption
DISABLE_LOCAL, DISABLE_REMOTE, ENABLE_LOCAL, ENABLE_REMOTE, EXCLUDE_SELF, HIDDEN, IGNORE_DUPLICATES, INCLUDE_SELF, KEEP_DUPLICATES, SEND_ALL, SEND_CHANGES, TOPICS_AND_VALUES, TOPICS_ONLY, VISIBLE -
Constructor Summary
ConstructorsConstructorDescriptionExcludePublisher(Publisher publisher) Creates an instance of aExcludePublisherrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thepublisherrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ExcludePublisher
Creates an instance of aExcludePublisherrecord class.- Parameters:
publisher- the value for thepublisherrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
publisher
-