Record Class Localization.Command.Stream
java.lang.Object
java.lang.Record
net.flectone.pulse.config.Localization.Command.Stream
- All Implemented Interfaces:
LocalizationSetting
- Enclosing class:
Localization.Command
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionalready()Returns the value of thealreadyrecord component.builder()final booleanIndicates whether some other object is "equal to" this one.Returns the value of theformatEndrecord component.Returns the value of theformatStartrecord component.final inthashCode()Returns a hash code value for this object.not()Returns the value of thenotrecord component.Returns the value of theprefixFalserecord component.Returns the value of theprefixTruerecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theurlTemplaterecord component.withAlready(String already) withFormatEnd(String formatEnd) withFormatStart(String formatStart) withPrefixFalse(String prefixFalse) withPrefixTrue(String prefixTrue) withUrlTemplate(String urlTemplate)
-
Constructor Details
-
Stream
public Stream(String already, String not, String prefixTrue, String prefixFalse, String urlTemplate, String formatStart, String formatEnd) Creates an instance of aStreamrecord class.- Parameters:
already- the value for thealreadyrecord componentnot- the value for thenotrecord componentprefixTrue- the value for theprefixTruerecord componentprefixFalse- the value for theprefixFalserecord componenturlTemplate- the value for theurlTemplaterecord componentformatStart- the value for theformatStartrecord componentformatEnd- the value for theformatEndrecord component
-
-
Method Details
-
builder
-
toBuilder
-
withAlready
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withNot
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withPrefixTrue
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withPrefixFalse
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withUrlTemplate
- 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).
-
withFormatEnd
- 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). -
already
Returns the value of thealreadyrecord component.- Returns:
- the value of the
alreadyrecord component
-
not
Returns the value of thenotrecord component.- Returns:
- the value of the
notrecord component
-
prefixTrue
Returns the value of theprefixTruerecord component.- Returns:
- the value of the
prefixTruerecord component
-
prefixFalse
Returns the value of theprefixFalserecord component.- Returns:
- the value of the
prefixFalserecord component
-
urlTemplate
Returns the value of theurlTemplaterecord component.- Returns:
- the value of the
urlTemplaterecord component
-
formatStart
Returns the value of theformatStartrecord component.- Returns:
- the value of the
formatStartrecord component
-
formatEnd
Returns the value of theformatEndrecord component.- Returns:
- the value of the
formatEndrecord component
-