Class EngineConfig
java.lang.Object
org.odpi.openmetadata.adminservices.configuration.properties.AdminServicesConfigHeader
org.odpi.openmetadata.adminservices.configuration.properties.EngineConfig
EngineConfig provides the properties to configure a single governance engine in an service (in an engine hosting server).
The configuration for each of these engines is extracted from the partner OMAS using
the engine name as the qualified name.
-
Constructor Summary
ConstructorDescriptionDefault constructorEngineConfig
(EngineConfig template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Validate that an object is equal depending on their stored values.Return the unique identifier for this governance engine.Return the name of the governance engine.Return the userId that the governance engine should use when calling the metadata server.int
hashCode()
Return a hash code based on the values of this object.void
setEngineId
(String engineId) Set up the unique identifier for this governance engine.void
setEngineQualifiedName
(String engineQualifiedName) Set up the name of the governance engine.void
setEngineUserId
(String engineUserId) Set up the userId that the governance engine should use when calling the metadata server.toString()
Standard toString method.
-
Constructor Details
-
EngineConfig
public EngineConfig()Default constructor -
EngineConfig
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getEngineId
Return the unique identifier for this governance engine. It is used when registering a listener with the one of the OutTopics of the metadata services access services.- Returns:
- String identifier
-
setEngineId
Set up the unique identifier for this governance engine. It is used when registering a listener with the one of the OutTopics of the metadata services access services.- Parameters:
engineId
- String identifier
-
getEngineQualifiedName
Return the name of the governance engine. This is the qualified name of the GovernanceEngine entity in the metadata repository that represents the engine.- Returns:
- String name
-
setEngineQualifiedName
Set up the name of the governance engine. This is the qualified name of the GovernanceEngine entity in the metadata repository that represents the engine.- Parameters:
engineQualifiedName
- String name
-
getEngineUserId
Return the userId that the governance engine should use when calling the metadata server. (Null means use the Engine Host's userId.)- Returns:
- string userId
-
setEngineUserId
Set up the userId that the governance engine should use when calling the metadata server. (Null means use the Engine Host's userId.)- Parameters:
engineUserId
- string userId
-
toString
Standard toString method. -
equals
Validate that an object is equal depending on their stored values. -
hashCode
public int hashCode()Return a hash code based on the values of this object.
-