Class ConnectorReport
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.properties.ConnectorReport
- All Implemented Interfaces:
Serializable
ConnectorReport is a collection of information provided by a connector provider that describes the operation of
a connector. It is designed to aid an administrator setting up the configuration for a connector.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorConnectorReport(ConnectorReport template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.org.odpi.openmetadata.frameworks.auditlog.ComponentDescriptionReturn the component description information that the connector uses to register with the audit log.org.odpi.openmetadata.frameworks.connectors.properties.beans.ConnectorTypeReturn the ConnectorType object.longReturn the recommended number of minutes between each call to the connector to refresh the metadata.The action target names returned are those that affect the governance action service's behaviour.The guards describe the output assessment from the governance action service.The request parameters returned are used by the governance action service to control its behaviour.The request source names returned are the request source names that affect the governance action service's behaviour.The request types returned are those that affect the governance action service's behaviour.booleanReturn if the connector should be started in its own thread to allow it to block on a listening call.inthashCode()Return hash code for this objectvoidsetComponentDescription(org.odpi.openmetadata.frameworks.auditlog.ComponentDescription componentDescription) Set up the component description information that the connector uses to register with the audit log.voidsetConnectorType(org.odpi.openmetadata.frameworks.connectors.properties.beans.ConnectorType connectorType) Set up the ConnectorType object.voidsetRefreshTimeInterval(long refreshTimeInterval) Set up the recommended number of minutes between each call to the connector to refresh the metadata.voidsetSupportedActionTargetNames(List<String> supportedActionTargetNames) Set up the supported action target namesvoidsetSupportedGuards(List<String> supportedGuards) Set up the supported guardsvoidsetSupportedRequestParameters(List<String> supportedRequestParameters) Set up request parameters returned are used by the governance action service to control its behaviour.voidsetSupportedRequestSourceNames(List<String> supportedRequestSourceNames) Set up the request source names.voidsetSupportedRequestTypes(List<String> supportedRequestTypes) Set up the supported request types.voidsetUsesBlockingCalls(boolean usesBlockingCalls) Set up if the connector should be started in its own thread to allow it to block on a listening call.toString()JSON-style toString
-
Constructor Details
-
ConnectorReport
public ConnectorReport()Default constructor -
ConnectorReport
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getComponentDescription
public org.odpi.openmetadata.frameworks.auditlog.ComponentDescription getComponentDescription()Return the component description information that the connector uses to register with the audit log.- Returns:
- component description structure
-
setComponentDescription
public void setComponentDescription(org.odpi.openmetadata.frameworks.auditlog.ComponentDescription componentDescription) Set up the component description information that the connector uses to register with the audit log.- Parameters:
componentDescription- component description structure
-
getConnectorType
public org.odpi.openmetadata.frameworks.connectors.properties.beans.ConnectorType getConnectorType()Return the ConnectorType object.- Returns:
- connectorType
-
setConnectorType
public void setConnectorType(org.odpi.openmetadata.frameworks.connectors.properties.beans.ConnectorType connectorType) Set up the ConnectorType object.- Parameters:
connectorType- - connectorType object
-
getRefreshTimeInterval
public long getRefreshTimeInterval()Return the recommended number of minutes between each call to the connector to refresh the metadata. Zero means that refresh is only called at server start up and whenever the refresh REST API request is made to the integration daemon. If the refresh time interval is greater than 0 then additional calls to refresh are added spaced out by the refresh time interval.- Returns:
- minute count
-
setRefreshTimeInterval
public void setRefreshTimeInterval(long refreshTimeInterval) Set up the recommended number of minutes between each call to the connector to refresh the metadata. Zero means that refresh is only called at server start up and whenever the refresh REST API request is made to the integration daemon. If the refresh time interval is greater than 0 then additional calls to refresh are added spaced out by the refresh time interval.- Parameters:
refreshTimeInterval- minute count
-
getUsesBlockingCalls
public boolean getUsesBlockingCalls()Return if the connector should be started in its own thread to allow it to block on a listening call.- Returns:
- boolean flag
-
setUsesBlockingCalls
public void setUsesBlockingCalls(boolean usesBlockingCalls) Set up if the connector should be started in its own thread to allow it to block on a listening call.- Parameters:
usesBlockingCalls- boolean flag
-
getSupportedRequestTypes
The request types returned are those that affect the governance action service's behaviour. Other request types may be used to call the governance action service but they result in default behaviour.- Returns:
- list of request types with special meaning
-
setSupportedRequestTypes
Set up the supported request types.- Parameters:
supportedRequestTypes- list of request types with special meaning
-
getSupportedRequestParameters
The request parameters returned are used by the governance action service to control its behaviour.- Returns:
- list of parameter names with special meaning
-
setSupportedRequestParameters
Set up request parameters returned are used by the governance action service to control its behaviour.- Parameters:
supportedRequestParameters- list of parameter names with special meaning
-
getSupportedRequestSourceNames
The request source names returned are the request source names that affect the governance action service's behaviour. Other request source names may be used in a call the governance action service but they result in default behaviour.- Returns:
- list of request source names with special meaning
-
setSupportedRequestSourceNames
Set up the request source names.- Parameters:
supportedRequestSourceNames- list of request source names with special meaning
-
getSupportedActionTargetNames
The action target names returned are those that affect the governance action service's behaviour. Other action target names may be used in a call the governance action service but they result in default behaviour.- Returns:
- list of action target names with special meaning
-
setSupportedActionTargetNames
Set up the supported action target names- Parameters:
supportedActionTargetNames- list of action target names with special meaning
-
getSupportedGuards
The guards describe the output assessment from the governance action service. The list returned is the complete list of guards to expect from the governance action service. They are used when defining governance action processes that choreograph the execution of governance action services using the guards to determine the path in the process to take.- Returns:
- list of guards produced by this service
-
setSupportedGuards
Set up the supported guards- Parameters:
supportedGuards- list of guards produced by this service
-
toString
JSON-style toString -
equals
Return comparison result based on the content of the properties. -
hashCode
public int hashCode()Return hash code for this object
-