Class EngineServiceConfig
java.lang.Object
org.odpi.openmetadata.adminservices.configuration.properties.AdminServicesConfigHeader
org.odpi.openmetadata.adminservices.configuration.properties.OMAGServerClientConfig
org.odpi.openmetadata.adminservices.configuration.properties.EngineServiceConfig
EngineServiceConfig provides the properties to configure a single engine service in an engine hosting server. The engine service
runs one or more engines of a specific type. The configuration for each of these engines is extracted from the partner OMAS using
the engine name as the qualified name.
-
Constructor Summary
ConstructorDescriptionDefault constructorEngineServiceConfig
(EngineServiceConfig template) Copy/clone constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Validate that an object is equal depending on their stored values.Deprecated.Return the Java class name of the admin-services interface for this engine service.Return the short description of the engine service.Return the development status of the service.Return the full name of the engine service.int
Return the code number (ordinal) for this engine service.Return the name of the engine service.Return the status of this engine service.Return the options for this engine service.Return the full name of the Open Metadata Access Service (OMAS) that this engine service is partnered with.Return the string that appears in the REST API URL that identifies the owning service.Return the wiki page link for the engine service.int
hashCode()
Return a hash code based on the values of this object.void
setEngines
(List<EngineConfig> engines) Deprecated.void
setEngineServiceAdminClass
(String engineServiceAdminClass) Set up the Java class name of the admin services interface for this engine service.void
setEngineServiceDescription
(String engineServiceDescription) Set up the short description of the engine service.void
setEngineServiceDevelopmentStatus
(ComponentDevelopmentStatus engineServiceDevelopmentStatus) Set up the development status of the service.void
setEngineServiceFullName
(String engineServiceFullName) Set up the full name of the engine service.void
setEngineServiceId
(int engineServiceId) Set up the code number (ordinal) for this engine service.void
setEngineServiceName
(String engineServiceName) Set up the name of the engine service.void
setEngineServiceOperationalStatus
(ServiceOperationalStatus engineServiceOperationalStatus) Set up the status of the engine service.void
setEngineServiceOptions
(Map<String, Object> engineServiceOptions) Set up the options for this engine service.void
setEngineServicePartnerOMAS
(String engineServicePartnerOMAS) Set up the full name of the Open Metadata Access Service (OMAS) that this engine service is partnered with.void
setEngineServiceURLMarker
(String engineServiceURLMarker) Set up the string that appears in the REST API URL that identifies the owning service.void
setEngineServiceWiki
(String engineServiceWiki) Set up the wiki page link for the engine service.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.adminservices.configuration.properties.OMAGServerClientConfig
getOMAGServerName, getOMAGServerPlatformRootURL, setOMAGServerName, setOMAGServerPlatformRootURL
-
Constructor Details
-
EngineServiceConfig
public EngineServiceConfig()Default constructor -
EngineServiceConfig
Copy/clone constructor- Parameters:
template
- object to copy
-
EngineServiceConfig
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getEngineServiceId
public int getEngineServiceId()Return the code number (ordinal) for this engine service.- Returns:
- int ordinal
-
setEngineServiceId
public void setEngineServiceId(int engineServiceId) Set up the code number (ordinal) for this engine service.- Parameters:
engineServiceId
- int ordinal
-
getEngineServiceDevelopmentStatus
Return the development status of the service.- Returns:
- enum describing the status
-
setEngineServiceDevelopmentStatus
public void setEngineServiceDevelopmentStatus(ComponentDevelopmentStatus engineServiceDevelopmentStatus) Set up the development status of the service.- Parameters:
engineServiceDevelopmentStatus
- enum describing the status
-
getEngineServiceAdminClass
Return the Java class name of the admin-services interface for this engine service.- Returns:
- String class name implementing the EngineServiceAdmin interface.
-
setEngineServiceAdminClass
Set up the Java class name of the admin services interface for this engine service.- Parameters:
engineServiceAdminClass
- String class name implementing the EngineServiceAdmin interface.
-
getEngineServiceName
Return the name of the engine service.- Returns:
- String name
-
setEngineServiceFullName
Set up the full name of the engine service.- Parameters:
engineServiceFullName
- String name
-
setEngineServiceName
Set up the name of the engine service.- Parameters:
engineServiceName
- String name
-
getEngineServiceFullName
Return the full name of the engine service.- Returns:
- String name
-
getEngineServiceURLMarker
Return the string that appears in the REST API URL that identifies the owning service. Null means no REST APIs supported by this service.- Returns:
- String default name
-
setEngineServiceURLMarker
Set up the string that appears in the REST API URL that identifies the owning service. Null means no REST APIs supported by this service.- Parameters:
engineServiceURLMarker
- url fragment
-
getEngineServiceDescription
Return the short description of the engine service. The default value is in English but this can be changed.- Returns:
- String description
-
setEngineServiceDescription
Set up the short description of the engine service.- Parameters:
engineServiceDescription
- String description
-
getEngineServiceWiki
Return the wiki page link for the engine service.- Returns:
- String url
-
setEngineServiceWiki
Set up the wiki page link for the engine service.- Parameters:
engineServiceWiki
- String url
-
getEngineServicePartnerOMAS
Return the full name of the Open Metadata Access Service (OMAS) that this engine service is partnered with.- Returns:
- Full name of OMAS
-
setEngineServicePartnerOMAS
Set up the full name of the Open Metadata Access Service (OMAS) that this engine service is partnered with.- Parameters:
engineServicePartnerOMAS
- Full name of OMAS
-
getEngineServiceOperationalStatus
Return the status of this engine service.- Returns:
- ServiceOperationalStatus enum
-
setEngineServiceOperationalStatus
public void setEngineServiceOperationalStatus(ServiceOperationalStatus engineServiceOperationalStatus) Set up the status of the engine service.- Parameters:
engineServiceOperationalStatus
- ServiceOperationalStatus enum
-
getEngineServiceOptions
Return the options for this engine service. These are properties that are specific to the engine service.- Returns:
- Map from String to String
-
setEngineServiceOptions
Set up the options for this engine service. These are properties that are specific to the engine service.- Parameters:
engineServiceOptions
- Map from String to String
-
getEngines
Deprecated.Return the list of unique names (qualifiedName) for the governance engines that will run in this server. This call is deprecated, use setEngineList() instead.- Returns:
- list of qualified names and userIds
-
setEngines
Deprecated.Set up the list of unique names (qualifiedName) for the governance engines that will run in this server. This call is deprecated, use setEngineList() instead.- Parameters:
engines
- list of qualified names and userIds
-
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
-