Record Class Localization.Command.Mute
java.lang.Object
java.lang.Record
net.flectone.pulse.config.Localization.Command.Mute
- All Implemented Interfaces:
LocalizationSetting
- Enclosing class:
Localization.Command
public static record Localization.Command.Mute(String nullPlayer, String nullTime, String lowerWeightGroup, String alreadyMuted, String suffix, Localization.ReasonMap reasons, String server, String person)
extends Record
implements LocalizationSetting
- Since:
- 1.7.1
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thealreadyMutedrecord component.builder()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 thelowerWeightGrouprecord component.Returns the value of thenullPlayerrecord component.nullTime()Returns the value of thenullTimerecord component.person()Returns the value of thepersonrecord component.reasons()Returns the value of thereasonsrecord component.server()Returns the value of theserverrecord component.suffix()Returns the value of thesuffixrecord component.final StringtoString()Returns a string representation of this record class.withAlreadyMuted(String alreadyMuted) withLowerWeightGroup(String lowerWeightGroup) withNullPlayer(String nullPlayer) withNullTime(String nullTime) withPerson(String person) withReasons(Localization.ReasonMap reasons) withServer(String server) withSuffix(String suffix)
-
Constructor Details
-
Mute
public Mute(String nullPlayer, String nullTime, String lowerWeightGroup, String alreadyMuted, String suffix, Localization.ReasonMap reasons, String server, String person) Creates an instance of aMuterecord class.- Parameters:
nullPlayer- the value for thenullPlayerrecord componentnullTime- the value for thenullTimerecord componentlowerWeightGroup- the value for thelowerWeightGrouprecord componentalreadyMuted- the value for thealreadyMutedrecord componentsuffix- the value for thesuffixrecord componentreasons- the value for thereasonsrecord componentserver- the value for theserverrecord componentperson- the value for thepersonrecord component
-
-
Method Details
-
builder
-
toBuilder
-
withNullPlayer
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withNullTime
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withLowerWeightGroup
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withAlreadyMuted
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withSuffix
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withReasons
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withServer
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withPerson
- 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
-
nullTime
Returns the value of thenullTimerecord component.- Returns:
- the value of the
nullTimerecord component
-
lowerWeightGroup
Returns the value of thelowerWeightGrouprecord component.- Returns:
- the value of the
lowerWeightGrouprecord component
-
alreadyMuted
Returns the value of thealreadyMutedrecord component.- Returns:
- the value of the
alreadyMutedrecord component
-
suffix
Returns the value of thesuffixrecord component.- Returns:
- the value of the
suffixrecord component
-
reasons
Returns the value of thereasonsrecord component.- Returns:
- the value of the
reasonsrecord component
-
server
Returns the value of theserverrecord component.- Returns:
- the value of the
serverrecord component
-
person
Returns the value of thepersonrecord component.- Returns:
- the value of the
personrecord component
-