Record Class Localization.Command.Ignore
java.lang.Object
java.lang.Record
net.flectone.pulse.config.Localization.Command.Ignore
- All Implemented Interfaces:
LocalizationSetting
- Enclosing class:
Localization.Command
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanIndicates whether some other object is "equal to" this one.Returns the value of theformatFalserecord component.Returns the value of theformatTruerecord component.final inthashCode()Returns a hash code value for this object.he()Returns the value of theherecord component.myself()Returns the value of themyselfrecord component.Returns the value of thenullPlayerrecord component.final StringtoString()Returns a string representation of this record class.withFormatFalse(String formatFalse) withFormatTrue(String formatTrue) withMyself(String myself) withNullPlayer(String nullPlayer) you()Returns the value of theyourecord component.
-
Constructor Details
-
Ignore
public Ignore(String nullPlayer, String myself, String he, String you, String formatTrue, String formatFalse) Creates an instance of aIgnorerecord class.- Parameters:
nullPlayer- the value for thenullPlayerrecord componentmyself- the value for themyselfrecord componenthe- the value for theherecord componentyou- the value for theyourecord componentformatTrue- the value for theformatTruerecord componentformatFalse- the value for theformatFalserecord component
-
-
Method Details
-
builder
-
toBuilder
-
withNullPlayer
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withMyself
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withHe
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withYou
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withFormatTrue
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withFormatFalse
- 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). -
nullPlayer
Returns the value of thenullPlayerrecord component.- Returns:
- the value of the
nullPlayerrecord component
-
myself
Returns the value of themyselfrecord component.- Returns:
- the value of the
myselfrecord component
-
he
Returns the value of theherecord component.- Returns:
- the value of the
herecord component
-
you
Returns the value of theyourecord component.- Returns:
- the value of the
yourecord component
-
formatTrue
Returns the value of theformatTruerecord component.- Returns:
- the value of the
formatTruerecord component
-
formatFalse
Returns the value of theformatFalserecord component.- Returns:
- the value of the
formatFalserecord component
-