Class EngineServiceRegistrationEntry
java.lang.Object
org.odpi.openmetadata.adminservices.configuration.registration.EngineServiceRegistrationEntry
EngineServiceRegistrationEntry is used by an engine service to register its admin services interface.
The registration is dynamic because engine services from third parties can be written and run in the
OMAGServerPlatform.
-
Constructor Summary
ConstructorDescriptionDefault constructor for use with Jackson librariesEngineServiceRegistrationEntry
(int engineServiceCode, ComponentDevelopmentStatus engineServiceDevelopmentStatus, String engineServiceName, String engineServiceFullName, String engineServiceURLMarker, String engineServiceDescription, String engineServiceWiki, String engineServicePartnerOMAS, String hostedGovernanceEngineType, String hostedGovernanceServiceType, ServiceOperationalStatus engineServiceOperationalStatus, String engineServiceAdminClassName) Complete ConstructorEngineServiceRegistrationEntry
(EngineServiceDescription engineServiceDescription, ServiceOperationalStatus engineServiceOperationalStatus, String engineServiceAdminClassName) Enum ConstructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Validate that an object is equal depending on their stored values.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 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.Return the open metadata type of governance engine that this engine service supports.Return the open metadata type of governance service that this engine service supports.int
hashCode()
Return a hash code based on the values of this object.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
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.void
setHostedGovernanceEngineType
(String hostedGovernanceEngineType) Set up the open metadata type of governance engine that this engine service supports.void
setHostedGovernanceServiceType
(String hostedGovernanceServiceType) Set up the open metadata type of governance service that this engine service supports.toString()
Standard toString method.
-
Constructor Details
-
EngineServiceRegistrationEntry
public EngineServiceRegistrationEntry(int engineServiceCode, ComponentDevelopmentStatus engineServiceDevelopmentStatus, String engineServiceName, String engineServiceFullName, String engineServiceURLMarker, String engineServiceDescription, String engineServiceWiki, String engineServicePartnerOMAS, String hostedGovernanceEngineType, String hostedGovernanceServiceType, ServiceOperationalStatus engineServiceOperationalStatus, String engineServiceAdminClassName) Complete Constructor- Parameters:
engineServiceCode
- ordinal for this engine serviceengineServiceDevelopmentStatus
- development statusengineServiceName
- symbolic name for this engine serviceengineServiceFullName
- full name for this engine serviceengineServiceURLMarker
- name of the part of the URL that is the name of the engine serviceengineServiceDescription
- short description for this engine serviceengineServiceWiki
- wiki page for the engine service for this engine serviceengineServicePartnerOMAS
- full name of the OMAS that this engine service is partnered withhostedGovernanceEngineType
- type of governance engine hosted by this servicehostedGovernanceServiceType
- type of governance service hosted by this serviceengineServiceOperationalStatus
- default initial operational status for the engine serviceengineServiceAdminClassName
- name of EngineServiceAdmin implementation class for the engine service
-
EngineServiceRegistrationEntry
public EngineServiceRegistrationEntry(EngineServiceDescription engineServiceDescription, ServiceOperationalStatus engineServiceOperationalStatus, String engineServiceAdminClassName) Enum Constructor- Parameters:
engineServiceDescription
- enum for this engine serviceengineServiceOperationalStatus
- default initial operational status for the engine serviceengineServiceAdminClassName
- name of EngineServiceAdmin implementation class for the engine service
-
EngineServiceRegistrationEntry
public EngineServiceRegistrationEntry()Default constructor for use with Jackson libraries -
EngineServiceRegistrationEntry
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
-
getHostedGovernanceEngineType
Return the open metadata type of governance engine that this engine service supports.- Returns:
- engine open metadata type name
-
setHostedGovernanceEngineType
Set up the open metadata type of governance engine that this engine service supports.- Parameters:
hostedGovernanceEngineType
- open metadata type name
-
getHostedGovernanceServiceType
Return the open metadata type of governance service that this engine service supports.- Returns:
- governance service connector open metadata type name
-
setHostedGovernanceServiceType
Set up the open metadata type of governance service that this engine service supports.- Parameters:
hostedGovernanceServiceType
- open metadata type name
-
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.
-