Record Class TunableBackend.PublishedTunable
java.lang.Object
java.lang.Record
org.wpilib.tunable.TunableBackend.PublishedTunable
- Record Components:
path- normalized pathtunable- simple tunable; null for complex tunablescomplex- complex tunable; null for simple tunables
- Enclosing interface:
TunableBackend
public static record TunableBackend.PublishedTunable(String path, TunableBase tunable, ComplexTunable complex)
extends Record
A tunable removed from a backend.
-
Constructor Summary
ConstructorsConstructorDescriptionPublishedTunable(String path, TunableBase tunable, ComplexTunable complex) Creates an instance of aPublishedTunablerecord class. -
Method Summary
Modifier and TypeMethodDescriptioncomplex()Returns the value of thecomplexrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.path()Returns the value of thepathrecord component.final StringtoString()Returns a string representation of this record class.tunable()Returns the value of thetunablerecord component.
-
Constructor Details
-
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). -
path
-
tunable
-
complex
-