Package ch.rswk.meta.engine
Record Class EngineUpdater.UpdaterServicesConfigs
java.lang.Object
java.lang.Record
ch.rswk.meta.engine.EngineUpdater.UpdaterServicesConfigs
- Enclosing class:
EngineUpdater
public static record EngineUpdater.UpdaterServicesConfigs(EngineLauncher.EngineConfig engine, FileService.FileServiceConfig file, MetaService.MetaServiceConfig meta, UserService.UserServiceConfig user)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final EngineLauncher.EngineConfig
The field for theengine
record component.private final FileService.FileServiceConfig
The field for thefile
record component.private final MetaService.MetaServiceConfig
The field for themeta
record component.private final UserService.UserServiceConfig
The field for theuser
record component. -
Constructor Summary
ConstructorsConstructorDescriptionUpdaterServicesConfigs
(EngineLauncher.EngineConfig engine, FileService.FileServiceConfig file, MetaService.MetaServiceConfig meta, UserService.UserServiceConfig user) Creates an instance of aUpdaterServicesConfigs
record class. -
Method Summary
Modifier and TypeMethodDescriptionengine()
Returns the value of theengine
record component.final boolean
Indicates whether some other object is "equal to" this one.file()
Returns the value of thefile
record component.final int
hashCode()
Returns a hash code value for this object.meta()
Returns the value of themeta
record component.final String
toString()
Returns a string representation of this record class.user()
Returns the value of theuser
record component.
-
Field Details
-
engine
The field for theengine
record component. -
file
The field for thefile
record component. -
meta
The field for themeta
record component. -
user
The field for theuser
record component.
-
-
Constructor Details
-
UpdaterServicesConfigs
public UpdaterServicesConfigs(EngineLauncher.EngineConfig engine, FileService.FileServiceConfig file, MetaService.MetaServiceConfig meta, UserService.UserServiceConfig user) Creates an instance of aUpdaterServicesConfigs
record class.- Parameters:
engine
- the value for theengine
record componentfile
- the value for thefile
record componentmeta
- the value for themeta
record componentuser
- the value for theuser
record component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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)
. -
engine
Returns the value of theengine
record component.- Returns:
- the value of the
engine
record component
-
file
Returns the value of thefile
record component.- Returns:
- the value of the
file
record component
-
meta
Returns the value of themeta
record component.- Returns:
- the value of the
meta
record component
-
user
Returns the value of theuser
record component.- Returns:
- the value of the
user
record component
-