Class DiscoveryAnalysisReportClient
- java.lang.Object
-
- org.odpi.openmetadata.frameworks.discovery.DiscoveryAnalysisReportStore
-
- org.odpi.openmetadata.accessservices.discoveryengine.client.DiscoveryAnalysisReportClient
-
public class DiscoveryAnalysisReportClient extends DiscoveryAnalysisReportStore
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
Constructors Constructor Description DiscoveryAnalysisReportClient(String userId, DiscoveryRequestStatus discoveryRequestStatus, String assetGUID, Map<String,String> analysisParameters, String reportQualifiedName, String reportDisplayName, String reportDescription, String discoveryEngineGUID, String discoveryServiceGUID, DiscoveryEngineClient discoveryEngineClient)Constructor for this client
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DiscoveryRequestStatusgetDiscoveryRequestStatus()Return the current status of the discovery request - this is stored in the report.voidsetDiscoveryRequestStatus(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 Detail
-
DiscoveryAnalysisReportClient
public DiscoveryAnalysisReportClient(String userId, DiscoveryRequestStatus discoveryRequestStatus, String assetGUID, Map<String,String> analysisParameters, String reportQualifiedName, String reportDisplayName, String reportDescription, String discoveryEngineGUID, String discoveryServiceGUID, DiscoveryEngineClient discoveryEngineClient) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Constructor for this client- Parameters:
userId- calling userdiscoveryRequestStatus- current statusassetGUID- linked assetanalysisParameters- parameters that configured the analysisreportQualifiedName- 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 Detail
-
getDiscoveryRequestStatus
public DiscoveryRequestStatus getDiscoveryRequestStatus() throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Return the current status of the discovery request - this is stored in the report.- Overrides:
getDiscoveryRequestStatusin 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:
setDiscoveryRequestStatusin 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.
-
-