Class RegisteredGovernanceServiceProperties
java.lang.Object
org.odpi.openmetadata.frameworks.governanceaction.properties.RegisteredGovernanceServiceProperties
RegisteredGovernanceServiceProperties provides a structure for carrying the properties for a SupportedGovernanceService relationship.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals method that returns true if containing properties are the same.Return the parameters to pass onto the governance service.Return the request type that this governance service supports.int
hashCode()
Return hash code for this objectvoid
setRequestParameters
(Map<String, String> requestParameters) Set up the parameters to pass onto the governance service.void
setServiceRequestType
(String requestType) Set up the request type that this governance service supports.toString()
JSON-style toString.
-
Constructor Details
-
RegisteredGovernanceServiceProperties
public RegisteredGovernanceServiceProperties()Default constructor -
RegisteredGovernanceServiceProperties
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
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 parameters to pass onto the governance service.- Returns:
- map of properties
-
setRequestParameters
Set up the parameters to pass onto the governance service.- Parameters:
requestParameters
- map of properties
-
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
-