Record Class Message.Tab.Playerlistname
java.lang.Object
java.lang.Record
net.flectone.pulse.config.Message.Tab.Playerlistname
- All Implemented Interfaces:
EnableSetting
- Enclosing class:
Message.Tab
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()enable()Returns the value of theenablerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thehideInvisiblerecord component.Returns the value of thehideSpectatorrecord component.range()Returns the value of therangerecord component.Returns the value of thespectatorListOrderrecord component.ticker()Returns the value of thetickerrecord component.final StringtoString()Returns a string representation of this record class.withEnable(Boolean enable) withHideInvisible(Boolean hideInvisible) withHideSpectator(Boolean hideSpectator) withSpectatorListOrder(Boolean spectatorListOrder) withTicker(Ticker ticker)
-
Constructor Details
-
Playerlistname
public Playerlistname(Boolean enable, Boolean hideInvisible, Boolean hideSpectator, Boolean spectatorListOrder, Range range, Ticker ticker) Creates an instance of aPlayerlistnamerecord class.- Parameters:
enable- the value for theenablerecord componenthideInvisible- the value for thehideInvisiblerecord componenthideSpectator- the value for thehideSpectatorrecord componentspectatorListOrder- the value for thespectatorListOrderrecord componentrange- the value for therangerecord componentticker- the value for thetickerrecord component
-
-
Method Details
-
builder
-
toBuilder
-
withEnable
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withHideInvisible
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withHideSpectator
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withSpectatorListOrder
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withRange
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withTicker
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
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). -
enable
Returns the value of theenablerecord component.- Specified by:
enablein interfaceEnableSetting- Returns:
- the value of the
enablerecord component
-
hideInvisible
Returns the value of thehideInvisiblerecord component.- Returns:
- the value of the
hideInvisiblerecord component
-
hideSpectator
Returns the value of thehideSpectatorrecord component.- Returns:
- the value of the
hideSpectatorrecord component
-
spectatorListOrder
Returns the value of thespectatorListOrderrecord component.- Returns:
- the value of the
spectatorListOrderrecord component
-
range
Returns the value of therangerecord component.- Returns:
- the value of the
rangerecord component
-
ticker
Returns the value of thetickerrecord component.- Returns:
- the value of the
tickerrecord component
-