Class EngineHostServicesConfig
java.lang.Object
org.odpi.openmetadata.adminservices.configuration.properties.AdminServicesConfigHeader
org.odpi.openmetadata.adminservices.configuration.properties.OMAGServerClientConfig
org.odpi.openmetadata.adminservices.configuration.properties.EngineHostServicesConfig
EngineHostServicesConfig provides the properties to configure an engine host OMAG server. The engine host
runs one or more Open Metadata Engine Services (OMES) that in turn run one or more governance engines.
The configuration of the engine host services is in two parts:
- The inherited properties from OMAGServerClientConfig defines the platform root URL and server name of server running the Governance Engine OMAS that provides configuration for the governance engines as well as the governance actions that drive the automated execution of governance requests.
- An array of Engine properties, one for each engine to run.
- An optional array of EngineServiceConfig properties, one for each engine service to run.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Validate that an object is equal depending on their stored values.Return the list of engines that should run on the engine host.Return the list of configuration for the engine services that will run in this server.int
hashCode()
Return a hash code based on the values of this object.void
setEngineList
(List<EngineConfig> engineList) Set up list of engines that should run on the engine host.void
setEngineServiceConfigs
(List<EngineServiceConfig> engineServiceConfigs) Set up the list of configuration for the engine services that will run in this server.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.adminservices.configuration.properties.OMAGServerClientConfig
getOMAGServerName, getOMAGServerPlatformRootURL, setOMAGServerName, setOMAGServerPlatformRootURL
-
Constructor Details
-
EngineHostServicesConfig
public EngineHostServicesConfig()Default constructor -
EngineHostServicesConfig
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getEngineList
Return the list of engines that should run on the engine host. The engine host will start the engine services needed assuming they will use the same metadata access server as the engine host uses for the governance engine configuration.- Returns:
- list of engine configurations
-
setEngineList
Set up list of engines that should run on the engine host. The engine host will start the engine services needed assuming they will use the same metadata access server as the engine host uses for the governance engine configuration.- Parameters:
engineList
- list of engine configurations
-
getEngineServiceConfigs
Return the list of configuration for the engine services that will run in this server. This configuration is only required if the services use a different metadata access store to the engine host.- Returns:
- list of engine service configurations
-
setEngineServiceConfigs
Set up the list of configuration for the engine services that will run in this server. This configuration is only required if the services use a different metadata access store to the engine host.- Parameters:
engineServiceConfigs
- list of engine service configurations
-
toString
Standard toString method.- Overrides:
toString
in classOMAGServerClientConfig
- Returns:
- JSON style description of variables.
-
equals
Validate that an object is equal depending on their stored values.- Overrides:
equals
in classOMAGServerClientConfig
- Parameters:
objectToCompare
- object- Returns:
- boolean result
-
hashCode
public int hashCode()Return a hash code based on the values of this object.- Overrides:
hashCode
in classOMAGServerClientConfig
- Returns:
- in hash code
-