Class DiscoveryAnalysisReportClient
java.lang.Object
org.odpi.openmetadata.frameworks.discovery.DiscoveryAnalysisReportStore
org.odpi.openmetadata.accessservices.discoveryengine.client.DiscoveryAnalysisReportClient
DiscoveryReportClient is the client interface for managing the values in a Discovery Analysis Report using the Discovery Engine OMAS
services.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.discovery.DiscoveryAnalysisReportStore
analysisStep, creationDate, discoveryReportGUID, discoveryRequestStatus, reportDescription, reportDisplayName, reportQualifiedName, userId
-
Constructor Summary
ConstructorsConstructorDescriptionDiscoveryAnalysisReportClient
(String userId, DiscoveryRequestStatus discoveryRequestStatus, String assetGUID, Map<String, String> analysisParameters, String firstAnalysisStepName, String reportQualifiedName, String reportDisplayName, String reportDescription, String discoveryEngineGUID, String discoveryServiceGUID, DiscoveryEngineClient discoveryEngineClient) Constructor for this client -
Method Summary
Modifier and TypeMethodDescriptionReturn the current status of the discovery request - this is stored in the report.void
setDiscoveryRequestStatus
(DiscoveryRequestStatus discoveryRequestStatus) Set up the current status of the discovery request - this is stored in the report so it can be monitored by the originator of the request.Methods inherited from class org.odpi.openmetadata.frameworks.discovery.DiscoveryAnalysisReportStore
getAnalysisStep, getCreationDate, getDiscoveryReportGUID, getReportDescription, getReportDisplayName, getReportQualifiedName, setAnalysisStep, setReportDescription, setReportDisplayName, setReportQualifiedName
-
Constructor Details
-
DiscoveryAnalysisReportClient
public DiscoveryAnalysisReportClient(String userId, DiscoveryRequestStatus discoveryRequestStatus, String assetGUID, Map<String, String> analysisParameters, String firstAnalysisStepName, String reportQualifiedName, String reportDisplayName, String reportDescription, String discoveryEngineGUID, String discoveryServiceGUID, DiscoveryEngineClient discoveryEngineClient) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerExceptionConstructor for this client- Parameters:
userId
- calling userdiscoveryRequestStatus
- current statusassetGUID
- linked assetanalysisParameters
- parameters that configured the analysisfirstAnalysisStepName
- name of the first analysis step performed by the discovery servicereportQualifiedName
- qualified name of reportreportDisplayName
- display name of reportreportDescription
- description of reportdiscoveryEngineGUID
- hosting discovery enginediscoveryServiceGUID
- executing discovery servicediscoveryEngineClient
- calling engine client- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user id not authorized to issue this requestPropertyServerException
- there was a problem retrieving annotations from the annotation store.
-
-
Method Details
-
getDiscoveryRequestStatus
public DiscoveryRequestStatus getDiscoveryRequestStatus() throws InvalidParameterException, UserNotAuthorizedException, PropertyServerExceptionReturn the current status of the discovery request - this is stored in the report.- Overrides:
getDiscoveryRequestStatus
in classDiscoveryAnalysisReportStore
- Returns:
- current status of the discovery request/report
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user id not authorized to issue this requestPropertyServerException
- there was a problem retrieving annotations from the annotation store.
-
setDiscoveryRequestStatus
public void setDiscoveryRequestStatus(DiscoveryRequestStatus discoveryRequestStatus) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Set up the current status of the discovery request - this is stored in the report so it can be monitored by the originator of the request.- Overrides:
setDiscoveryRequestStatus
in classDiscoveryAnalysisReportStore
- Parameters:
discoveryRequestStatus
- new status of the discovery request/report- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user id not authorized to issue this requestPropertyServerException
- there was a problem retrieving annotations from the annotation store.
-