Class HostConfiguration
java.lang.Object
org.sentrysoftware.metricshub.engine.configuration.HostConfiguration
The HostConfiguration class represents the configuration for a host in the MetricsHub engine.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondetermineAcceptedSources(boolean isLocalhost) Determine the accepted sources that can be executed using the current engine configurationGet the protocol configuration used to execute requests on Windows machines.
-
Constructor Details
-
HostConfiguration
public HostConfiguration()
-
-
Method Details
-
determineAcceptedSources
Determine the accepted sources that can be executed using the current engine configuration- Parameters:
isLocalhost- Whether the host should be localhost or not- Returns:
Setof accepted source types
-
getWinConfiguration
Get the protocol configuration used to execute requests on Windows machines. (WinRM or WMI)
WinRM is prioritized.- Returns:
IWinConfigurationinstance.
-