Class HostConfiguration

java.lang.Object
org.sentrysoftware.metricshub.engine.configuration.HostConfiguration

public class HostConfiguration extends Object
The HostConfiguration class represents the configuration for a host in the MetricsHub engine.
  • Constructor Details

    • HostConfiguration

      public HostConfiguration()
  • Method Details

    • determineAcceptedSources

      public Set<Class<? extends Source>> determineAcceptedSources(boolean isLocalhost)
      Determine the accepted sources that can be executed using the current engine configuration
      Parameters:
      isLocalhost - Whether the host should be localhost or not
      Returns:
      Set of accepted source types
    • getWinConfiguration

      public IWinConfiguration getWinConfiguration()
      Get the protocol configuration used to execute requests on Windows machines. (WinRM or WMI)
      WinRM is prioritized.
      Returns:
      IWinConfiguration instance.