Package ch.rswk.meta.engine
Record Class EngineLauncher.EngineConfig
java.lang.Object
java.lang.Record
ch.rswk.meta.engine.EngineLauncher.EngineConfig
- Enclosing class:
EngineLauncher
public static record EngineLauncher.EngineConfig(ActionService.ActionServiceConfig action, DatabaseService.DatabaseServiceConfig database, FileService.FileServiceConfig file, GatewayService.GatewayServiceConfig gateway, HttpService.HttpServiceConfig http, LoggingService.LoggingServiceConfig logging, MetaService.MetaServiceConfig meta, EngineRuntime.EngineRuntimeConfig runtime, UserService.UserServiceConfig user, WatchdogService.WatchdogServiceConfig watchdog, EngineWebSocketController.EngineWebSocketControllerConfig websocket)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ActionService.ActionServiceConfig
The field for theaction
record component.private final DatabaseService.DatabaseServiceConfig
The field for thedatabase
record component.private final FileService.FileServiceConfig
The field for thefile
record component.private final GatewayService.GatewayServiceConfig
The field for thegateway
record component.private final HttpService.HttpServiceConfig
The field for thehttp
record component.private final LoggingService.LoggingServiceConfig
The field for thelogging
record component.private final MetaService.MetaServiceConfig
The field for themeta
record component.private final EngineRuntime.EngineRuntimeConfig
The field for theruntime
record component.private final UserService.UserServiceConfig
The field for theuser
record component.private final WatchdogService.WatchdogServiceConfig
The field for thewatchdog
record component.The field for thewebsocket
record component. -
Constructor Summary
ConstructorsConstructorDescriptionEngineConfig
(ActionService.ActionServiceConfig action, DatabaseService.DatabaseServiceConfig database, FileService.FileServiceConfig file, GatewayService.GatewayServiceConfig gateway, HttpService.HttpServiceConfig http, LoggingService.LoggingServiceConfig logging, MetaService.MetaServiceConfig meta, EngineRuntime.EngineRuntimeConfig runtime, UserService.UserServiceConfig user, WatchdogService.WatchdogServiceConfig watchdog, EngineWebSocketController.EngineWebSocketControllerConfig websocket) Creates an instance of aEngineConfig
record class. -
Method Summary
Modifier and TypeMethodDescriptionaction()
Returns the value of theaction
record component.database()
Returns the value of thedatabase
record component.final boolean
Indicates whether some other object is "equal to" this one.file()
Returns the value of thefile
record component.gateway()
Returns the value of thegateway
record component.final int
hashCode()
Returns a hash code value for this object.http()
Returns the value of thehttp
record component.logging()
Returns the value of thelogging
record component.meta()
Returns the value of themeta
record component.runtime()
Returns the value of theruntime
record component.final String
toString()
Returns a string representation of this record class.user()
Returns the value of theuser
record component.watchdog()
Returns the value of thewatchdog
record component.Returns the value of thewebsocket
record component.
-
Field Details
-
action
The field for theaction
record component. -
database
The field for thedatabase
record component. -
file
The field for thefile
record component. -
gateway
The field for thegateway
record component. -
http
The field for thehttp
record component. -
logging
The field for thelogging
record component. -
meta
The field for themeta
record component. -
runtime
The field for theruntime
record component. -
user
The field for theuser
record component. -
watchdog
The field for thewatchdog
record component. -
websocket
The field for thewebsocket
record component.
-
-
Constructor Details
-
EngineConfig
public EngineConfig(ActionService.ActionServiceConfig action, DatabaseService.DatabaseServiceConfig database, FileService.FileServiceConfig file, GatewayService.GatewayServiceConfig gateway, HttpService.HttpServiceConfig http, LoggingService.LoggingServiceConfig logging, MetaService.MetaServiceConfig meta, EngineRuntime.EngineRuntimeConfig runtime, UserService.UserServiceConfig user, WatchdogService.WatchdogServiceConfig watchdog, EngineWebSocketController.EngineWebSocketControllerConfig websocket) Creates an instance of aEngineConfig
record class.- Parameters:
action
- the value for theaction
record componentdatabase
- the value for thedatabase
record componentfile
- the value for thefile
record componentgateway
- the value for thegateway
record componenthttp
- the value for thehttp
record componentlogging
- the value for thelogging
record componentmeta
- the value for themeta
record componentruntime
- the value for theruntime
record componentuser
- the value for theuser
record componentwatchdog
- the value for thewatchdog
record componentwebsocket
- the value for thewebsocket
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)
. -
action
Returns the value of theaction
record component.- Returns:
- the value of the
action
record component
-
database
Returns the value of thedatabase
record component.- Returns:
- the value of the
database
record component
-
file
Returns the value of thefile
record component.- Returns:
- the value of the
file
record component
-
gateway
Returns the value of thegateway
record component.- Returns:
- the value of the
gateway
record component
-
http
Returns the value of thehttp
record component.- Returns:
- the value of the
http
record component
-
logging
Returns the value of thelogging
record component.- Returns:
- the value of the
logging
record component
-
meta
Returns the value of themeta
record component.- Returns:
- the value of the
meta
record component
-
runtime
Returns the value of theruntime
record component.- Returns:
- the value of the
runtime
record component
-
user
Returns the value of theuser
record component.- Returns:
- the value of the
user
record component
-
watchdog
Returns the value of thewatchdog
record component.- Returns:
- the value of the
watchdog
record component
-
websocket
Returns the value of thewebsocket
record component.- Returns:
- the value of the
websocket
record component
-