Record Class FilePack
java.lang.Object
java.lang.Record
net.flectone.pulse.model.file.FilePack
public record FilePack(Command command, Config config, Integration integration, Message message, Permission permission, Map<String, Localization> localizations)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionFilePack(Command command, Config config, Integration integration, Message message, Permission permission, Map<String, Localization> localizations) Creates an instance of aFilePackrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncommand()Returns the value of thecommandrecord component.config()Returns the value of theconfigrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theintegrationrecord component.Returns the value of thelocalizationsrecord component.message()Returns the value of themessagerecord component.Returns the value of thepermissionrecord component.final StringtoString()Returns a string representation of this record class.withCommand(Command command) withConfig(Config config) withIntegration(Integration integration) withLocalizations(Map<String, Localization> localizations) withMessage(Message message) withPermission(Permission permission)
-
Constructor Details
-
FilePack
public FilePack(Command command, Config config, Integration integration, Message message, Permission permission, Map<String, Localization> localizations) Creates an instance of aFilePackrecord class.- Parameters:
command- the value for thecommandrecord componentconfig- the value for theconfigrecord componentintegration- the value for theintegrationrecord componentmessage- the value for themessagerecord componentpermission- the value for thepermissionrecord componentlocalizations- the value for thelocalizationsrecord component
-
-
Method Details
-
withCommand
-
withConfig
-
withIntegration
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withMessage
-
withPermission
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withLocalizations
- 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). -
command
Returns the value of thecommandrecord component.- Returns:
- the value of the
commandrecord component
-
config
Returns the value of theconfigrecord component.- Returns:
- the value of the
configrecord component
-
integration
Returns the value of theintegrationrecord component.- Returns:
- the value of the
integrationrecord component
-
message
Returns the value of themessagerecord component.- Returns:
- the value of the
messagerecord component
-
permission
Returns the value of thepermissionrecord component.- Returns:
- the value of the
permissionrecord component
-
localizations
Returns the value of thelocalizationsrecord component.- Returns:
- the value of the
localizationsrecord component
-