Record Class PluginServiceInstances

java.lang.Object
java.lang.Record
org.elasticsearch.node.PluginServiceInstances
All Implemented Interfaces:
Plugin.PluginServices

public record PluginServiceInstances(Client client, ClusterService clusterService, RerouteService rerouteService, ThreadPool threadPool, ResourceWatcherService resourceWatcherService, ScriptService scriptService, NamedXContentRegistry xContentRegistry, Environment environment, NodeEnvironment nodeEnvironment, NamedWriteableRegistry namedWriteableRegistry, IndexNameExpressionResolver indexNameExpressionResolver, RepositoriesService repositoriesService, TelemetryProvider telemetryProvider, AllocationService allocationService, IndicesService indicesService, FeatureService featureService, SystemIndices systemIndices, DataStreamGlobalRetentionSettings dataStreamGlobalRetentionSettings, DocumentParsingProvider documentParsingProvider, TaskManager taskManager) extends Record implements Plugin.PluginServices
  • Constructor Details

    • PluginServiceInstances

      public PluginServiceInstances(Client client, ClusterService clusterService, RerouteService rerouteService, ThreadPool threadPool, ResourceWatcherService resourceWatcherService, ScriptService scriptService, NamedXContentRegistry xContentRegistry, Environment environment, NodeEnvironment nodeEnvironment, NamedWriteableRegistry namedWriteableRegistry, IndexNameExpressionResolver indexNameExpressionResolver, RepositoriesService repositoriesService, TelemetryProvider telemetryProvider, AllocationService allocationService, IndicesService indicesService, FeatureService featureService, SystemIndices systemIndices, DataStreamGlobalRetentionSettings dataStreamGlobalRetentionSettings, DocumentParsingProvider documentParsingProvider, TaskManager taskManager)
      Creates an instance of a PluginServiceInstances record class.
      Parameters:
      client - the value for the client record component
      clusterService - the value for the clusterService record component
      rerouteService - the value for the rerouteService record component
      threadPool - the value for the threadPool record component
      resourceWatcherService - the value for the resourceWatcherService record component
      scriptService - the value for the scriptService record component
      xContentRegistry - the value for the xContentRegistry record component
      environment - the value for the environment record component
      nodeEnvironment - the value for the nodeEnvironment record component
      namedWriteableRegistry - the value for the namedWriteableRegistry record component
      indexNameExpressionResolver - the value for the indexNameExpressionResolver record component
      repositoriesService - the value for the repositoriesService record component
      telemetryProvider - the value for the telemetryProvider record component
      allocationService - the value for the allocationService record component
      indicesService - the value for the indicesService record component
      featureService - the value for the featureService record component
      systemIndices - the value for the systemIndices record component
      dataStreamGlobalRetentionSettings - the value for the dataStreamGlobalRetentionSettings record component
      documentParsingProvider - the value for the documentParsingProvider record component
      taskManager - the value for the taskManager 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.
    • client

      public Client client()
      Returns the value of the client record component.
      Specified by:
      client in interface Plugin.PluginServices
      Returns:
      the value of the client record component
    • clusterService

      public ClusterService clusterService()
      Returns the value of the clusterService record component.
      Specified by:
      clusterService in interface Plugin.PluginServices
      Returns:
      the value of the clusterService record component
    • rerouteService

      public RerouteService rerouteService()
      Returns the value of the rerouteService record component.
      Specified by:
      rerouteService in interface Plugin.PluginServices
      Returns:
      the value of the rerouteService record component
    • threadPool

      public ThreadPool threadPool()
      Returns the value of the threadPool record component.
      Specified by:
      threadPool in interface Plugin.PluginServices
      Returns:
      the value of the threadPool record component
    • resourceWatcherService

      public ResourceWatcherService resourceWatcherService()
      Returns the value of the resourceWatcherService record component.
      Specified by:
      resourceWatcherService in interface Plugin.PluginServices
      Returns:
      the value of the resourceWatcherService record component
    • scriptService

      public ScriptService scriptService()
      Returns the value of the scriptService record component.
      Specified by:
      scriptService in interface Plugin.PluginServices
      Returns:
      the value of the scriptService record component
    • xContentRegistry

      public NamedXContentRegistry xContentRegistry()
      Returns the value of the xContentRegistry record component.
      Specified by:
      xContentRegistry in interface Plugin.PluginServices
      Returns:
      the value of the xContentRegistry record component
    • environment

      public Environment environment()
      Returns the value of the environment record component.
      Specified by:
      environment in interface Plugin.PluginServices
      Returns:
      the value of the environment record component
    • nodeEnvironment

      public NodeEnvironment nodeEnvironment()
      Returns the value of the nodeEnvironment record component.
      Specified by:
      nodeEnvironment in interface Plugin.PluginServices
      Returns:
      the value of the nodeEnvironment record component
    • namedWriteableRegistry

      public NamedWriteableRegistry namedWriteableRegistry()
      Returns the value of the namedWriteableRegistry record component.
      Specified by:
      namedWriteableRegistry in interface Plugin.PluginServices
      Returns:
      the value of the namedWriteableRegistry record component
    • indexNameExpressionResolver

      public IndexNameExpressionResolver indexNameExpressionResolver()
      Returns the value of the indexNameExpressionResolver record component.
      Specified by:
      indexNameExpressionResolver in interface Plugin.PluginServices
      Returns:
      the value of the indexNameExpressionResolver record component
    • repositoriesService

      public RepositoriesService repositoriesService()
      Returns the value of the repositoriesService record component.
      Specified by:
      repositoriesService in interface Plugin.PluginServices
      Returns:
      the value of the repositoriesService record component
    • telemetryProvider

      public TelemetryProvider telemetryProvider()
      Returns the value of the telemetryProvider record component.
      Specified by:
      telemetryProvider in interface Plugin.PluginServices
      Returns:
      the value of the telemetryProvider record component
    • allocationService

      public AllocationService allocationService()
      Returns the value of the allocationService record component.
      Specified by:
      allocationService in interface Plugin.PluginServices
      Returns:
      the value of the allocationService record component
    • indicesService

      public IndicesService indicesService()
      Returns the value of the indicesService record component.
      Specified by:
      indicesService in interface Plugin.PluginServices
      Returns:
      the value of the indicesService record component
    • featureService

      public FeatureService featureService()
      Returns the value of the featureService record component.
      Specified by:
      featureService in interface Plugin.PluginServices
      Returns:
      the value of the featureService record component
    • systemIndices

      public SystemIndices systemIndices()
      Returns the value of the systemIndices record component.
      Specified by:
      systemIndices in interface Plugin.PluginServices
      Returns:
      the value of the systemIndices record component
    • dataStreamGlobalRetentionSettings

      public DataStreamGlobalRetentionSettings dataStreamGlobalRetentionSettings()
      Returns the value of the dataStreamGlobalRetentionSettings record component.
      Specified by:
      dataStreamGlobalRetentionSettings in interface Plugin.PluginServices
      Returns:
      the value of the dataStreamGlobalRetentionSettings record component
    • documentParsingProvider

      public DocumentParsingProvider documentParsingProvider()
      Returns the value of the documentParsingProvider record component.
      Specified by:
      documentParsingProvider in interface Plugin.PluginServices
      Returns:
      the value of the documentParsingProvider record component
    • taskManager

      public TaskManager taskManager()
      Returns the value of the taskManager record component.
      Specified by:
      taskManager in interface Plugin.PluginServices
      Returns:
      the value of the taskManager record component