Class AccessServiceConfig
java.lang.Object
org.odpi.openmetadata.adminservices.configuration.properties.AdminServicesConfigHeader
org.odpi.openmetadata.adminservices.configuration.properties.AccessServiceConfig
AccessServiceConfig provides the configuration for a single Open Metadata Access Service (OMAS).
-
Constructor Summary
ConstructorDescriptionDefault constructor for use with Jackson librariesAccessServiceConfig
(AccessServiceConfig template) Copy/clone constructorAccessServiceConfig
(AccessServiceRegistrationEntry accessServiceRegistration) Set up the default values for an access service using an access service description. -
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 access service.Return the short description of the access service.Return the development status of the service.Return the full name of the access service.int
Return the code number (ordinal) for this access service.Return the OCF Connection for the topic used to pass requests to this access service.Return the name of the access service.Return the status of this access service.Return the options for this access service.Return the OCF Connection for the topic used by this access service to publish events.Return the string that appears in the REST API URL that identifies the owning service.Return the wiki page link for the access service.int
hashCode()
Return a hash code based on the values of this object.void
setAccessServiceAdminClass
(String accessServiceAdminClass) Set up the Java class name of the admin services interface for this access service.void
setAccessServiceDescription
(String accessServiceDescription) Set up the short description of the access service.void
setAccessServiceDevelopmentStatus
(ComponentDevelopmentStatus accessServiceDevelopmentStatus) Set up the development status of the service.void
setAccessServiceFullName
(String accessServiceFullName) Set up the full name of the access service.void
setAccessServiceId
(int accessServiceId) Set up the code number (ordinal) for this access service.void
setAccessServiceInTopic
(Connection accessServiceInTopic) Set up the OCF Connection for the topic used to pass requests to this access service.void
setAccessServiceName
(String accessServiceName) Set up the name of the access service.void
setAccessServiceOperationalStatus
(ServiceOperationalStatus accessServiceOperationalStatus) Set up the status of the access service.void
setAccessServiceOptions
(Map<String, Object> accessServiceOptions) Set up the options for this access service.void
setAccessServiceOutTopic
(Connection accessServiceOutTopic) Set up the OCF Connection of the topic used by this access service to publish events.void
setAccessServiceURLMarker
(String accessServiceURLMarker) Set up the string that appears in the REST API URL that identifies the owning service.void
setAccessServiceWiki
(String accessServiceWiki) Set up the wiki page link for the access service.toString()
Standard toString method.
-
Constructor Details
-
AccessServiceConfig
public AccessServiceConfig()Default constructor for use with Jackson libraries -
AccessServiceConfig
Copy/clone constructor- Parameters:
template
- object to copy
-
AccessServiceConfig
Set up the default values for an access service using an access service description.- Parameters:
accessServiceRegistration
- fixed properties about the access service
-
-
Method Details
-
getAccessServiceId
public int getAccessServiceId()Return the code number (ordinal) for this access service.- Returns:
- int ordinal
-
setAccessServiceId
public void setAccessServiceId(int accessServiceId) Set up the code number (ordinal) for this access service.- Parameters:
accessServiceId
- int ordinal
-
getAccessServiceDevelopmentStatus
Return the development status of the service.- Returns:
- enum describing the status
-
setAccessServiceDevelopmentStatus
public void setAccessServiceDevelopmentStatus(ComponentDevelopmentStatus accessServiceDevelopmentStatus) Set up the development status of the service.- Parameters:
accessServiceDevelopmentStatus
- enum describing the status
-
getAccessServiceAdminClass
Return the Java class name of the admin-services interface for this access service.- Returns:
- String class name implementing the AccessServiceAdmin interface.
-
setAccessServiceAdminClass
Set up the Java class name of the admin services interface for this access service.- Parameters:
accessServiceAdminClass
- String class name implementing the AccessServiceAdmin interface.
-
getAccessServiceName
Return the name of the access service.- Returns:
- String name
-
setAccessServiceFullName
Set up the full name of the access service.- Parameters:
accessServiceFullName
- String name
-
setAccessServiceName
Set up the name of the access service.- Parameters:
accessServiceName
- String name
-
getAccessServiceFullName
Return the full name of the access service.- Returns:
- String name
-
getAccessServiceURLMarker
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
-
setAccessServiceURLMarker
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:
accessServiceURLMarker
- url fragment
-
getAccessServiceDescription
Return the short description of the access service. The default value is in English but this can be changed.- Returns:
- String description
-
setAccessServiceDescription
Set up the short description of the access service.- Parameters:
accessServiceDescription
- String description
-
getAccessServiceWiki
Return the wiki page link for the access service.- Returns:
- String url
-
setAccessServiceWiki
Set up the wiki page link for the access service.- Parameters:
accessServiceWiki
- String url
-
getAccessServiceOperationalStatus
Return the status of this access service.- Returns:
- AccessServiceOperationalStatus enum
-
setAccessServiceOperationalStatus
public void setAccessServiceOperationalStatus(ServiceOperationalStatus accessServiceOperationalStatus) Set up the status of the access service.- Parameters:
accessServiceOperationalStatus
- AccessServiceOperationalStatus enum
-
getAccessServiceInTopic
Return the OCF Connection for the topic used to pass requests to this access service. The default values are constructed from the access service name. If this value is set to null then the access service ignores incoming events.- Returns:
- Connection for InTopic
-
setAccessServiceInTopic
Set up the OCF Connection for the topic used to pass requests to this access service. The default values are constructed from the access service name. If this value is set to null then the access service ignores incoming events.- Parameters:
accessServiceInTopic
- Connection properties
-
getAccessServiceOutTopic
Return the OCF Connection for the topic used by this access service to publish events. The default values are constructed from the access service name. If this value is set to null then events are not published by this OMAS.- Returns:
- Connection for OutTopic
-
setAccessServiceOutTopic
Set up the OCF Connection of the topic used by this access service to publish events. The default values are constructed from the access service name. If this value is set to null then events are not published by this OMAS.- Parameters:
accessServiceOutTopic
- Connection properties
-
getAccessServiceOptions
Return the options for this access service. These are properties that are specific to the access service.- Returns:
- Map from String to String
-
setAccessServiceOptions
Set up the options for this access service. These are properties that are specific to the access service.- Parameters:
accessServiceOptions
- Map from String to String
-
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.
-