Record Class Localization.Command.Whois
java.lang.Object
java.lang.Record
net.flectone.pulse.config.Localization.Command.Whois
- All Implemented Interfaces:
LocalizationSetting
- Enclosing class:
Localization.Command
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()empty()Returns the value of theemptyrecord component.final booleanIndicates whether some other object is "equal to" this one.footer()Returns the value of thefooterrecord component.final inthashCode()Returns a hash code value for this object.header()Returns the value of theheaderrecord component.line()Returns the value of thelinerecord component.Returns the value of thelowerWeightGrouprecord component.nullPage()Returns the value of thenullPagerecord component.offline()Returns the value of theofflinerecord component.online()Returns the value of theonlinerecord component.final StringtoString()Returns a string representation of this record class.withFooter(String footer) withHeader(String header) withLowerWeightGroup(String lowerWeightGroup) withNullPage(String nullPage) withOffline(String offline) withOnline(String online)
-
Constructor Details
-
Whois
public Whois(String empty, String nullPage, String lowerWeightGroup, String online, String offline, String header, String line, String footer) Creates an instance of aWhoisrecord class.- Parameters:
empty- the value for theemptyrecord componentnullPage- the value for thenullPagerecord componentlowerWeightGroup- the value for thelowerWeightGrouprecord componentonline- the value for theonlinerecord componentoffline- the value for theofflinerecord componentheader- the value for theheaderrecord componentline- the value for thelinerecord componentfooter- the value for thefooterrecord 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).
-
withLowerWeightGroup
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withOnline
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withOffline
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withHeader
- 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).
-
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.- Returns:
- the value of the
emptyrecord component
-
nullPage
Returns the value of thenullPagerecord component.- Returns:
- the value of the
nullPagerecord component
-
lowerWeightGroup
Returns the value of thelowerWeightGrouprecord component.- Returns:
- the value of the
lowerWeightGrouprecord component
-
online
Returns the value of theonlinerecord component.- Returns:
- the value of the
onlinerecord component
-
offline
Returns the value of theofflinerecord component.- Returns:
- the value of the
offlinerecord component
-
header
Returns the value of theheaderrecord component.- Returns:
- the value of the
headerrecord component
-
line
Returns the value of thelinerecord component.- Returns:
- the value of the
linerecord component
-