Class GovernanceServiceRegistrationRequestBody
java.lang.Object
org.odpi.openmetadata.frameworkservices.gaf.rest.GovernanceServiceRegistrationRequestBody
- All Implemented Interfaces:
Serializable
GovernanceServiceRegistrationRequestBody provides a structure for passing details of a governance service
that is to be registered with a governance engine.
- See Also:
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals method that returns true if containing properties are the same.Return the unique identifier of the governance service.Return the list of analysis parameters that are passed to the governance service (via the governance context).Return the request type used to call the governance service via this governance engine.Return the request type that this governance service supports.int
hashCode()
Return hash code for this objectvoid
setGovernanceServiceGUID
(String governanceServiceGUID) Set up the unique identifier of the governance service.void
setRequestParameters
(Map<String, String> requestParameters) Set up the list of analysis parameters that are passed to the governance service (via the governance context).void
setRequestType
(String requestType) Set up the request type used to call the governance service via this governance engine.void
setServiceRequestType
(String requestType) Set up the request type that this governance service supports.toString()
JSON-style toString.
-
Constructor Details
-
GovernanceServiceRegistrationRequestBody
public GovernanceServiceRegistrationRequestBody()Default constructor -
GovernanceServiceRegistrationRequestBody
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getGovernanceServiceGUID
Return the unique identifier of the governance service.- Returns:
- guid
-
setGovernanceServiceGUID
Set up the unique identifier of the governance service.- Parameters:
governanceServiceGUID
- guid
-
getRequestType
Return the request type used to call the governance service via this governance engine. If this request type is not supported by the governance service, map it to the request type it does understand using setServiceRequestType.- Returns:
- name of the request type
-
setRequestType
Set up the request type used to call the governance service via this governance engine. If this request type is not supported by the governance service, map it to the request type it does understand using setServiceRequestType.- Parameters:
requestType
- name of the request type passed to the governance service
-
getServiceRequestType
Return the request type that this governance service supports. The requestType from the caller is mapped to this value if not null. This enables meaningful request types to be set up in a governance engine that then maps to a request type that the governance service understands.- Returns:
- name of the request type passed to the governance service (request type used if null)
-
setServiceRequestType
Set up the request type that this governance service supports. The requestType from the caller is mapped to this value if not null. This enables meaningful request types to be set up in a governance engine that then maps to a request type that the governance service understands.- Parameters:
requestType
- name of the request type passed to the governance service (request type used if null)
-
getRequestParameters
Return the list of analysis parameters that are passed to the governance service (via the governance context). These values can be overridden on the actual governance request.- Returns:
- map of parameter name to parameter value
-
setRequestParameters
Set up the list of analysis parameters that are passed to the governance service (via the governance context). These values can be overridden on the actual governance request.- Parameters:
requestParameters
- map of parameter name to parameter value
-
toString
JSON-style toString. -
equals
Equals method that returns true if containing properties are the same. -
hashCode
public int hashCode()Return hash code for this object
-