Record Class Localization.Command.Minesweeper
java.lang.Object
java.lang.Record
net.flectone.pulse.config.Localization.Command.Minesweeper
- All Implemented Interfaces:
LocalizationSetting
- Enclosing class:
Localization.Command
public static record Localization.Command.Minesweeper(String alreadyInGame, String wrongParameters, String wrongGame, String wrongMove, Localization.Command.Minesweeper.Cell cell, String line, String flagEnabled, String flagDisabled, String seed, String formatStart, String formatMove, String formatWin, String formatLose)
extends Record
implements LocalizationSetting
- Since:
- 1.7.1
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic class -
Constructor Summary
ConstructorsConstructorDescriptionMinesweeper(String alreadyInGame, String wrongParameters, String wrongGame, String wrongMove, Localization.Command.Minesweeper.Cell cell, String line, String flagEnabled, String flagDisabled, String seed, String formatStart, String formatMove, String formatWin, String formatLose) Creates an instance of aMinesweeperrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thealreadyInGamerecord component.builder()cell()Returns the value of thecellrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theflagDisabledrecord component.Returns the value of theflagEnabledrecord component.Returns the value of theformatLoserecord component.Returns the value of theformatMoverecord component.Returns the value of theformatStartrecord component.Returns the value of theformatWinrecord component.final inthashCode()Returns a hash code value for this object.line()Returns the value of thelinerecord component.seed()Returns the value of theseedrecord component.final StringtoString()Returns a string representation of this record class.withAlreadyInGame(String alreadyInGame) withFlagDisabled(String flagDisabled) withFlagEnabled(String flagEnabled) withFormatLose(String formatLose) withFormatMove(String formatMove) withFormatStart(String formatStart) withFormatWin(String formatWin) withWrongGame(String wrongGame) withWrongMove(String wrongMove) withWrongParameters(String wrongParameters) Returns the value of thewrongGamerecord component.Returns the value of thewrongMoverecord component.Returns the value of thewrongParametersrecord component.
-
Constructor Details
-
Minesweeper
public Minesweeper(String alreadyInGame, String wrongParameters, String wrongGame, String wrongMove, Localization.Command.Minesweeper.Cell cell, String line, String flagEnabled, String flagDisabled, String seed, String formatStart, String formatMove, String formatWin, String formatLose) Creates an instance of aMinesweeperrecord class.- Parameters:
alreadyInGame- the value for thealreadyInGamerecord componentwrongParameters- the value for thewrongParametersrecord componentwrongGame- the value for thewrongGamerecord componentwrongMove- the value for thewrongMoverecord componentcell- the value for thecellrecord componentline- the value for thelinerecord componentflagEnabled- the value for theflagEnabledrecord componentflagDisabled- the value for theflagDisabledrecord componentseed- the value for theseedrecord componentformatStart- the value for theformatStartrecord componentformatMove- the value for theformatMoverecord componentformatWin- the value for theformatWinrecord componentformatLose- the value for theformatLoserecord component
-
-
Method Details
-
builder
-
toBuilder
-
withAlreadyInGame
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withWrongParameters
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withWrongGame
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withWrongMove
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withCell
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withLine
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withFlagEnabled
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withFlagDisabled
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withSeed
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withFormatStart
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withFormatMove
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withFormatWin
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withFormatLose
- 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). -
alreadyInGame
Returns the value of thealreadyInGamerecord component.- Returns:
- the value of the
alreadyInGamerecord component
-
wrongParameters
Returns the value of thewrongParametersrecord component.- Returns:
- the value of the
wrongParametersrecord component
-
wrongGame
Returns the value of thewrongGamerecord component.- Returns:
- the value of the
wrongGamerecord component
-
wrongMove
Returns the value of thewrongMoverecord component.- Returns:
- the value of the
wrongMoverecord component
-
cell
Returns the value of thecellrecord component.- Returns:
- the value of the
cellrecord component
-
line
Returns the value of thelinerecord component.- Returns:
- the value of the
linerecord component
-
flagEnabled
Returns the value of theflagEnabledrecord component.- Returns:
- the value of the
flagEnabledrecord component
-
flagDisabled
Returns the value of theflagDisabledrecord component.- Returns:
- the value of the
flagDisabledrecord component
-
seed
Returns the value of theseedrecord component.- Returns:
- the value of the
seedrecord component
-
formatStart
Returns the value of theformatStartrecord component.- Returns:
- the value of the
formatStartrecord component
-
formatMove
Returns the value of theformatMoverecord component.- Returns:
- the value of the
formatMoverecord component
-
formatWin
Returns the value of theformatWinrecord component.- Returns:
- the value of the
formatWinrecord component
-
formatLose
Returns the value of theformatLoserecord component.- Returns:
- the value of the
formatLoserecord component
-