Class EngineConfig
- java.lang.Object
-
- org.odpi.openmetadata.adminservices.configuration.properties.AdminServicesConfigHeader
-
- org.odpi.openmetadata.adminservices.configuration.properties.EngineConfig
-
- All Implemented Interfaces:
java.io.Serializable
public class EngineConfig extends AdminServicesConfigHeader
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.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EngineConfig()
Default constructorEngineConfig(EngineConfig template)
Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object objectToCompare)
Validate that an object is equal depending on their stored values.java.lang.String
getEngineId()
Return the unique identifier for this engine.java.lang.String
getEngineQualifiedName()
Return the name of the engine.java.lang.String
getEngineUserId()
Return the userId that the engine should use when calling the metadata server.int
hashCode()
Return a hash code based on the values of this object.void
setEngineId(java.lang.String engineId)
Set up the unique identifier for this engine.void
setEngineQualifiedName(java.lang.String engineQualifiedName)
Set up the name of the engine service.void
setEngineUserId(java.lang.String engineUserId)
Set up the userId that the engine should use when calling the metadata server.java.lang.String
toString()
Standard toString method.
-
-
-
Constructor Detail
-
EngineConfig
public EngineConfig()
Default constructor
-
EngineConfig
public EngineConfig(EngineConfig template)
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Detail
-
getEngineId
public java.lang.String getEngineId()
Return the unique identifier for this engine. It is used when registering a listener with the one of the OutTopics of the metadata services access services.- Returns:
- String identifier
-
setEngineId
public void setEngineId(java.lang.String engineId)
Set up the unique identifier for this 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
public java.lang.String getEngineQualifiedName()
Return the name of the engine. This is the qualified name of the SoftwareCapability entity in the metadata repository that represents the engine.- Returns:
- String name
-
setEngineQualifiedName
public void setEngineQualifiedName(java.lang.String engineQualifiedName)
Set up the name of the engine service. This is the qualified name of the SoftwareCapability entity in the metadata repository that represents the engine.- Parameters:
engineQualifiedName
- String name
-
getEngineUserId
public java.lang.String getEngineUserId()
Return the userId that the engine should use when calling the metadata server. (Null means use the Engine Host's userId.)- Returns:
- string userId
-
setEngineUserId
public void setEngineUserId(java.lang.String engineUserId)
Set up the userId that the engine should use when calling the metadata server. (Null means use the Engine Host's userId.)- Parameters:
engineUserId
- string userId
-
toString
public java.lang.String toString()
Standard toString method.- Overrides:
toString
in classjava.lang.Object
- Returns:
- JSON style description of variables.
-
equals
public boolean equals(java.lang.Object objectToCompare)
Validate that an object is equal depending on their stored values.- Overrides:
equals
in classjava.lang.Object
- Parameters:
objectToCompare
- object- Returns:
- boolean result
-
hashCode
public int hashCode()
Return a hash code based on the values of this object.- Overrides:
hashCode
in classjava.lang.Object
- Returns:
- in hash code
-
-