Record Class Localization.Message.Scoreboard.Objective
java.lang.Object
java.lang.Record
net.flectone.pulse.config.Localization.Message.Scoreboard.Objective
- All Implemented Interfaces:
LocalizationSetting
- Enclosing class:
Localization.Message.Scoreboard
public static record Localization.Message.Scoreboard.Objective(Localization.Message.Scoreboard.Objective.Belowname belowname, Localization.Message.Scoreboard.Objective.Tabname tabname)
extends Record
implements LocalizationSetting
- Since:
- 1.7.1
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic classstatic final record -
Constructor Summary
ConstructorsConstructorDescriptionObjective(Localization.Message.Scoreboard.Objective.Belowname belowname, Localization.Message.Scoreboard.Objective.Tabname tabname) Creates an instance of aObjectiverecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebelownamerecord component.builder()final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.tabname()Returns the value of thetabnamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Objective
public Objective(@JsonPropertyDescription(" https://flectone.net/pulse/docs/message/scoreboard/objective/belowname") Localization.Message.Scoreboard.Objective.Belowname belowname, @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/scoreboard/objective/tabname") Localization.Message.Scoreboard.Objective.Tabname tabname) Creates an instance of aObjectiverecord class.- Parameters:
belowname- the value for thebelownamerecord componenttabname- the value for thetabnamerecord component
-
-
Method Details
-
builder
-
toBuilder
-
withBelowname
public Localization.Message.Scoreboard.Objective withBelowname(Localization.Message.Scoreboard.Objective.Belowname belowname) - Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withTabname
public Localization.Message.Scoreboard.Objective withTabname(Localization.Message.Scoreboard.Objective.Tabname tabname) - 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). -
belowname
@JsonPropertyDescription(" https://flectone.net/pulse/docs/message/scoreboard/objective/belowname") public Localization.Message.Scoreboard.Objective.Belowname belowname()Returns the value of thebelownamerecord component.- Returns:
- the value of the
belownamerecord component
-
tabname
@JsonPropertyDescription(" https://flectone.net/pulse/docs/message/scoreboard/objective/tabname") public Localization.Message.Scoreboard.Objective.Tabname tabname()Returns the value of thetabnamerecord component.- Returns:
- the value of the
tabnamerecord component
-