Record Class Localization.Command.Spy
java.lang.Object
java.lang.Record
net.flectone.pulse.config.Localization.Command.Spy
- All Implemented Interfaces:
LocalizationSetting
- Enclosing class:
Localization.Command
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactions()Returns the value of theactionsrecord component.builder()final booleanIndicates whether some other object is "equal to" this one.Returns the value of theformatFalserecord component.Returns the value of theformatLogrecord component.Returns the value of theformatTruerecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.withActions(Map<String, String> actions) withFormatFalse(String formatFalse) withFormatLog(String formatLog) withFormatTrue(String formatTrue)
-
Constructor Details
-
Spy
Creates an instance of aSpyrecord class.- Parameters:
formatTrue- the value for theformatTruerecord componentformatFalse- the value for theformatFalserecord componentformatLog- the value for theformatLogrecord componentactions- the value for theactionsrecord component
-
-
Method Details
-
builder
-
toBuilder
-
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).
-
withFormatLog
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withActions
- 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). -
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
-
formatLog
Returns the value of theformatLogrecord component.- Returns:
- the value of the
formatLogrecord component
-
actions
-