Record Class FabricInjectionHolder

java.lang.Object
java.lang.Record
eu.cloudnetservice.modules.bridge.platform.fabric.util.FabricInjectionHolder

@Singleton public record FabricInjectionHolder(@NonNull eu.cloudnetservice.driver.network.rpc.factory.RPCFactory rpcFactory, @NonNull eu.cloudnetservice.driver.event.EventManager eventManager, @NonNull eu.cloudnetservice.driver.network.NetworkClient networkClient, @NonNull eu.cloudnetservice.driver.registry.ServiceRegistry serviceRegistry, @NonNull eu.cloudnetservice.driver.provider.ServiceTaskProvider taskProvider, @NonNull BridgeServiceHelper serviceHelper, @NonNull eu.cloudnetservice.wrapper.holder.ServiceInfoHolder serviceInfoHolder, @NonNull eu.cloudnetservice.driver.provider.CloudServiceProvider serviceProvider, @NonNull ServerPlatformHelper serverPlatformHelper, @NonNull eu.cloudnetservice.wrapper.configuration.WrapperConfiguration wrapperConfiguration) extends Record
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final @NonNull eu.cloudnetservice.driver.event.EventManager
    The field for the eventManager record component.
    private final @NonNull eu.cloudnetservice.driver.network.NetworkClient
    The field for the networkClient record component.
    private final @NonNull eu.cloudnetservice.driver.network.rpc.factory.RPCFactory
    The field for the rpcFactory record component.
    The field for the serverPlatformHelper record component.
    The field for the serviceHelper record component.
    private final @NonNull eu.cloudnetservice.wrapper.holder.ServiceInfoHolder
    The field for the serviceInfoHolder record component.
    private final @NonNull eu.cloudnetservice.driver.provider.CloudServiceProvider
    The field for the serviceProvider record component.
    private final @NonNull eu.cloudnetservice.driver.registry.ServiceRegistry
    The field for the serviceRegistry record component.
    private final @NonNull eu.cloudnetservice.driver.provider.ServiceTaskProvider
    The field for the taskProvider record component.
    private final @NonNull eu.cloudnetservice.wrapper.configuration.WrapperConfiguration
    The field for the wrapperConfiguration record component.
  • Constructor Summary

    Constructors
    Constructor
    Description
    FabricInjectionHolder(@NonNull eu.cloudnetservice.driver.network.rpc.factory.RPCFactory rpcFactory, @NonNull eu.cloudnetservice.driver.event.EventManager eventManager, @NonNull eu.cloudnetservice.driver.network.NetworkClient networkClient, @NonNull eu.cloudnetservice.driver.registry.ServiceRegistry serviceRegistry, @NonNull eu.cloudnetservice.driver.provider.ServiceTaskProvider taskProvider, @NonNull BridgeServiceHelper serviceHelper, @NonNull eu.cloudnetservice.wrapper.holder.ServiceInfoHolder serviceInfoHolder, @NonNull eu.cloudnetservice.driver.provider.CloudServiceProvider serviceProvider, @NonNull ServerPlatformHelper serverPlatformHelper, @NonNull eu.cloudnetservice.wrapper.configuration.WrapperConfiguration wrapperConfiguration)
    Creates an instance of a FabricInjectionHolder record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    final boolean
    Indicates whether some other object is "equal to" this one.
    @NonNull eu.cloudnetservice.driver.event.EventManager
    Returns the value of the eventManager record component.
    final int
    Returns a hash code value for this object.
    @NonNull eu.cloudnetservice.driver.network.NetworkClient
    Returns the value of the networkClient record component.
    @NonNull eu.cloudnetservice.driver.network.rpc.factory.RPCFactory
    Returns the value of the rpcFactory record component.
    Returns the value of the serverPlatformHelper record component.
    Returns the value of the serviceHelper record component.
    @NonNull eu.cloudnetservice.wrapper.holder.ServiceInfoHolder
    Returns the value of the serviceInfoHolder record component.
    @NonNull eu.cloudnetservice.driver.provider.CloudServiceProvider
    Returns the value of the serviceProvider record component.
    @NonNull eu.cloudnetservice.driver.registry.ServiceRegistry
    Returns the value of the serviceRegistry record component.
    @NonNull eu.cloudnetservice.driver.provider.ServiceTaskProvider
    Returns the value of the taskProvider record component.
    final String
    Returns a string representation of this record class.
    @NonNull eu.cloudnetservice.wrapper.configuration.WrapperConfiguration
    Returns the value of the wrapperConfiguration record component.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • rpcFactory

      @NonNull private final @NonNull eu.cloudnetservice.driver.network.rpc.factory.RPCFactory rpcFactory
      The field for the rpcFactory record component.
    • eventManager

      @NonNull private final @NonNull eu.cloudnetservice.driver.event.EventManager eventManager
      The field for the eventManager record component.
    • networkClient

      @NonNull private final @NonNull eu.cloudnetservice.driver.network.NetworkClient networkClient
      The field for the networkClient record component.
    • serviceRegistry

      @NonNull private final @NonNull eu.cloudnetservice.driver.registry.ServiceRegistry serviceRegistry
      The field for the serviceRegistry record component.
    • taskProvider

      @NonNull private final @NonNull eu.cloudnetservice.driver.provider.ServiceTaskProvider taskProvider
      The field for the taskProvider record component.
    • serviceHelper

      @NonNull private final @NonNull BridgeServiceHelper serviceHelper
      The field for the serviceHelper record component.
    • serviceInfoHolder

      @NonNull private final @NonNull eu.cloudnetservice.wrapper.holder.ServiceInfoHolder serviceInfoHolder
      The field for the serviceInfoHolder record component.
    • serviceProvider

      @NonNull private final @NonNull eu.cloudnetservice.driver.provider.CloudServiceProvider serviceProvider
      The field for the serviceProvider record component.
    • serverPlatformHelper

      @NonNull private final @NonNull ServerPlatformHelper serverPlatformHelper
      The field for the serverPlatformHelper record component.
    • wrapperConfiguration

      @NonNull private final @NonNull eu.cloudnetservice.wrapper.configuration.WrapperConfiguration wrapperConfiguration
      The field for the wrapperConfiguration record component.
  • Constructor Details

    • FabricInjectionHolder

      public FabricInjectionHolder(@NonNull @NonNull eu.cloudnetservice.driver.network.rpc.factory.RPCFactory rpcFactory, @NonNull @NonNull eu.cloudnetservice.driver.event.EventManager eventManager, @NonNull @NonNull eu.cloudnetservice.driver.network.NetworkClient networkClient, @NonNull @NonNull eu.cloudnetservice.driver.registry.ServiceRegistry serviceRegistry, @NonNull @NonNull eu.cloudnetservice.driver.provider.ServiceTaskProvider taskProvider, @NonNull @NonNull BridgeServiceHelper serviceHelper, @NonNull @NonNull eu.cloudnetservice.wrapper.holder.ServiceInfoHolder serviceInfoHolder, @NonNull @NonNull eu.cloudnetservice.driver.provider.CloudServiceProvider serviceProvider, @NonNull @NonNull ServerPlatformHelper serverPlatformHelper, @NonNull @NonNull eu.cloudnetservice.wrapper.configuration.WrapperConfiguration wrapperConfiguration)
      Creates an instance of a FabricInjectionHolder record class.
      Parameters:
      rpcFactory - the value for the rpcFactory record component
      eventManager - the value for the eventManager record component
      networkClient - the value for the networkClient record component
      serviceRegistry - the value for the serviceRegistry record component
      taskProvider - the value for the taskProvider record component
      serviceHelper - the value for the serviceHelper record component
      serviceInfoHolder - the value for the serviceInfoHolder record component
      serviceProvider - the value for the serviceProvider record component
      serverPlatformHelper - the value for the serverPlatformHelper record component
      wrapperConfiguration - the value for the wrapperConfiguration record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • rpcFactory

      @NonNull public @NonNull eu.cloudnetservice.driver.network.rpc.factory.RPCFactory rpcFactory()
      Returns the value of the rpcFactory record component.
      Returns:
      the value of the rpcFactory record component
    • eventManager

      @NonNull public @NonNull eu.cloudnetservice.driver.event.EventManager eventManager()
      Returns the value of the eventManager record component.
      Returns:
      the value of the eventManager record component
    • networkClient

      @NonNull public @NonNull eu.cloudnetservice.driver.network.NetworkClient networkClient()
      Returns the value of the networkClient record component.
      Returns:
      the value of the networkClient record component
    • serviceRegistry

      @NonNull public @NonNull eu.cloudnetservice.driver.registry.ServiceRegistry serviceRegistry()
      Returns the value of the serviceRegistry record component.
      Returns:
      the value of the serviceRegistry record component
    • taskProvider

      @NonNull public @NonNull eu.cloudnetservice.driver.provider.ServiceTaskProvider taskProvider()
      Returns the value of the taskProvider record component.
      Returns:
      the value of the taskProvider record component
    • serviceHelper

      @NonNull public @NonNull BridgeServiceHelper serviceHelper()
      Returns the value of the serviceHelper record component.
      Returns:
      the value of the serviceHelper record component
    • serviceInfoHolder

      @NonNull public @NonNull eu.cloudnetservice.wrapper.holder.ServiceInfoHolder serviceInfoHolder()
      Returns the value of the serviceInfoHolder record component.
      Returns:
      the value of the serviceInfoHolder record component
    • serviceProvider

      @NonNull public @NonNull eu.cloudnetservice.driver.provider.CloudServiceProvider serviceProvider()
      Returns the value of the serviceProvider record component.
      Returns:
      the value of the serviceProvider record component
    • serverPlatformHelper

      @NonNull public @NonNull ServerPlatformHelper serverPlatformHelper()
      Returns the value of the serverPlatformHelper record component.
      Returns:
      the value of the serverPlatformHelper record component
    • wrapperConfiguration

      @NonNull public @NonNull eu.cloudnetservice.wrapper.configuration.WrapperConfiguration wrapperConfiguration()
      Returns the value of the wrapperConfiguration record component.
      Returns:
      the value of the wrapperConfiguration record component