Record Class Localization.Command.Whitelist
java.lang.Object
java.lang.Record
net.flectone.pulse.config.Localization.Command.Whitelist
- All Implemented Interfaces:
LocalizationSetting, ModerationListLocalizationSetting
- Enclosing class:
Localization.Command
public static record Localization.Command.Whitelist(String empty, String nullPage, String nullPlayer, String nullType, Localization.ReasonMap reasons, String alreadyAdd, String alreadyOff, String alreadyOn, String alreadyRemove, String formatAdd, String formatOff, String formatOn, String formatRemove, String person, String connectionAttempt, Localization.ListTypeMessage global, Localization.ListTypeMessage player)
extends Record
implements LocalizationSetting, ModerationListLocalizationSetting
- Since:
- 1.7.1
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionWhitelist(String empty, String nullPage, String nullPlayer, String nullType, Localization.ReasonMap reasons, String alreadyAdd, String alreadyOff, String alreadyOn, String alreadyRemove, String formatAdd, String formatOff, String formatOn, String formatRemove, String person, String connectionAttempt, Localization.ListTypeMessage global, Localization.ListTypeMessage player) Creates an instance of aWhitelistrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thealreadyAddrecord component.Returns the value of thealreadyOffrecord component.Returns the value of thealreadyOnrecord component.Returns the value of thealreadyRemoverecord component.builder()Returns the value of theconnectionAttemptrecord component.empty()Returns the value of theemptyrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theformatAddrecord component.Returns the value of theformatOffrecord component.formatOn()Returns the value of theformatOnrecord component.Returns the value of theformatRemoverecord component.global()Returns the value of theglobalrecord component.final inthashCode()Returns a hash code value for this object.nullPage()Returns the value of thenullPagerecord component.Returns the value of thenullPlayerrecord component.nullType()Returns the value of thenullTyperecord component.person()Returns the value of thepersonrecord component.player()Returns the value of theplayerrecord component.reasons()Returns the value of thereasonsrecord component.final StringtoString()Returns a string representation of this record class.withAlreadyAdd(String alreadyAdd) withAlreadyOff(String alreadyOff) withAlreadyOn(String alreadyOn) withAlreadyRemove(String alreadyRemove) withConnectionAttempt(String connectionAttempt) withFormatAdd(String formatAdd) withFormatOff(String formatOff) withFormatOn(String formatOn) withFormatRemove(String formatRemove) withNullPage(String nullPage) withNullPlayer(String nullPlayer) withNullType(String nullType) withPerson(String person) withReasons(Localization.ReasonMap reasons)
-
Constructor Details
-
Whitelist
public Whitelist(String empty, String nullPage, String nullPlayer, String nullType, Localization.ReasonMap reasons, String alreadyAdd, String alreadyOff, String alreadyOn, String alreadyRemove, String formatAdd, String formatOff, String formatOn, String formatRemove, String person, String connectionAttempt, Localization.ListTypeMessage global, Localization.ListTypeMessage player) Creates an instance of aWhitelistrecord class.- Parameters:
empty- the value for theemptyrecord componentnullPage- the value for thenullPagerecord componentnullPlayer- the value for thenullPlayerrecord componentnullType- the value for thenullTyperecord componentreasons- the value for thereasonsrecord componentalreadyAdd- the value for thealreadyAddrecord componentalreadyOff- the value for thealreadyOffrecord componentalreadyOn- the value for thealreadyOnrecord componentalreadyRemove- the value for thealreadyRemoverecord componentformatAdd- the value for theformatAddrecord componentformatOff- the value for theformatOffrecord componentformatOn- the value for theformatOnrecord componentformatRemove- the value for theformatRemoverecord componentperson- the value for thepersonrecord componentconnectionAttempt- the value for theconnectionAttemptrecord componentglobal- the value for theglobalrecord componentplayer- the value for theplayerrecord component
-
-
Method Details
-
builder
-
toBuilder
-
withEmpty
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withNullPage
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withNullPlayer
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withNullType
- 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).
-
withAlreadyAdd
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withAlreadyOff
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withAlreadyOn
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withAlreadyRemove
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withFormatAdd
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withFormatOff
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withFormatOn
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withFormatRemove
- 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).
-
withConnectionAttempt
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withGlobal
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withPlayer
- 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). -
empty
Returns the value of theemptyrecord component.- Specified by:
emptyin interfaceModerationListLocalizationSetting- Returns:
- the value of the
emptyrecord component
-
nullPage
Returns the value of thenullPagerecord component.- Specified by:
nullPagein interfaceModerationListLocalizationSetting- Returns:
- the value of the
nullPagerecord component
-
nullPlayer
Returns the value of thenullPlayerrecord component.- Specified by:
nullPlayerin interfaceModerationListLocalizationSetting- Returns:
- the value of the
nullPlayerrecord component
-
nullType
Returns the value of thenullTyperecord component.- Returns:
- the value of the
nullTyperecord component
-
reasons
Returns the value of thereasonsrecord component.- Returns:
- the value of the
reasonsrecord component
-
alreadyAdd
Returns the value of thealreadyAddrecord component.- Returns:
- the value of the
alreadyAddrecord component
-
alreadyOff
Returns the value of thealreadyOffrecord component.- Returns:
- the value of the
alreadyOffrecord component
-
alreadyOn
Returns the value of thealreadyOnrecord component.- Returns:
- the value of the
alreadyOnrecord component
-
alreadyRemove
Returns the value of thealreadyRemoverecord component.- Returns:
- the value of the
alreadyRemoverecord component
-
formatAdd
Returns the value of theformatAddrecord component.- Returns:
- the value of the
formatAddrecord component
-
formatOff
Returns the value of theformatOffrecord component.- Returns:
- the value of the
formatOffrecord component
-
formatOn
Returns the value of theformatOnrecord component.- Returns:
- the value of the
formatOnrecord component
-
formatRemove
Returns the value of theformatRemoverecord component.- Returns:
- the value of the
formatRemoverecord component
-
person
Returns the value of thepersonrecord component.- Returns:
- the value of the
personrecord component
-
connectionAttempt
Returns the value of theconnectionAttemptrecord component.- Returns:
- the value of the
connectionAttemptrecord component
-
global
Returns the value of theglobalrecord component.- Specified by:
globalin interfaceModerationListLocalizationSetting- Returns:
- the value of the
globalrecord component
-
player
Returns the value of theplayerrecord component.- Specified by:
playerin interfaceModerationListLocalizationSetting- Returns:
- the value of the
playerrecord component
-