Class NodeConfigurationSource


  • public abstract class NodeConfigurationSource
    extends java.lang.Object
    • Method Summary

      Modifier and Type Method Description
      abstract java.nio.file.Path nodeConfigPath​(int nodeOrdinal)  
      java.util.Collection<java.lang.Class<? extends Plugin>> nodePlugins()
      Returns plugins that should be loaded on the node
      abstract Settings nodeSettings​(int nodeOrdinal)  
      java.util.Collection<java.lang.Class<? extends Plugin>> transportClientPlugins()
      Returns plugins that should be loaded in the transport client
      Settings transportClientSettings()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NodeConfigurationSource

        public NodeConfigurationSource()
    • Method Detail

      • nodeSettings

        public abstract Settings nodeSettings​(int nodeOrdinal)
        Returns:
        the settings for the node represented by the given ordinal, or null if there are no settings defined
      • nodeConfigPath

        public abstract java.nio.file.Path nodeConfigPath​(int nodeOrdinal)
      • nodePlugins

        public java.util.Collection<java.lang.Class<? extends Plugin>> nodePlugins()
        Returns plugins that should be loaded on the node
      • transportClientSettings

        public Settings transportClientSettings()
      • transportClientPlugins

        public java.util.Collection<java.lang.Class<? extends Plugin>> transportClientPlugins()
        Returns plugins that should be loaded in the transport client