Class DiscoveryAnalysisReportStore
- java.lang.Object
-
- org.odpi.openmetadata.frameworks.discovery.DiscoveryAnalysisReportStore
-
public abstract class DiscoveryAnalysisReportStore extends Object
DiscoveryAnalysisReportStore provides a client to the open metadata repository that manages the content of the discovery analysis report. It is part of the DiscoveryAnnotationStore.
-
-
Field Summary
Fields Modifier and Type Field Description protected StringanalysisStepprotected DatecreationDateprotected StringdiscoveryReportGUIDprotected DiscoveryRequestStatusdiscoveryRequestStatusprotected StringreportDescriptionprotected StringreportDisplayNameprotected StringreportQualifiedNameprotected StringuserId
-
Constructor Summary
Constructors Modifier Constructor Description protectedDiscoveryAnalysisReportStore()Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAnalysisStep()Return the locally defined analysis step.DategetCreationDate()Return the creation date for the discovery analysis report that will result from this discovery request.StringgetDiscoveryReportGUID()Return the report identifier for this discovery context.DiscoveryRequestStatusgetDiscoveryRequestStatus()Return the current status of the discovery request - this is stored in the report.StringgetReportDescription()Return the description for the discovery analysis report that will result from this discovery request.StringgetReportDisplayName()Return the display name of the discovery analysis report that will result from this discovery request.StringgetReportQualifiedName()Return the unique name of the discovery analysis report that will result from this discovery request.voidsetAnalysisStep(String analysisStep)Set up the name of the current analysis step.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.voidsetReportDescription(String reportDescription)Set up the description for the discovery analysis report that will result from this discovery request.voidsetReportDisplayName(String reportName)Set up the display name of the discovery analysis report that will result from this discovery request.voidsetReportQualifiedName(String reportName)Set up the unique name of the discovery analysis report that will result from this discovery request.
-
-
-
Field Detail
-
userId
protected String userId
-
discoveryReportGUID
protected String discoveryReportGUID
-
discoveryRequestStatus
protected DiscoveryRequestStatus discoveryRequestStatus
-
reportQualifiedName
protected String reportQualifiedName
-
reportDisplayName
protected String reportDisplayName
-
reportDescription
protected String reportDescription
-
creationDate
protected Date creationDate
-
analysisStep
protected String analysisStep
-
-
Method Detail
-
getDiscoveryReportGUID
public String getDiscoveryReportGUID()
Return the report identifier for this discovery context. Any new annotations added to tis discovery context will be linked to this report.- Returns:
- unique identifier (guid) of the new discovery report.
-
getDiscoveryRequestStatus
public DiscoveryRequestStatus getDiscoveryRequestStatus() throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Return the current status of the discovery request - this is stored in the report.- 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.- 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.
-
getAnalysisStep
public String getAnalysisStep()
Return the locally defined analysis step. This value is used in annotations generated in this phase.- Returns:
- name of analysis step
-
setAnalysisStep
public void setAnalysisStep(String analysisStep)
Set up the name of the current analysis step.- Parameters:
analysisStep- name
-
getReportQualifiedName
public String getReportQualifiedName()
Return the unique name of the discovery analysis report that will result from this discovery request.- Returns:
- String report name
-
setReportQualifiedName
public void setReportQualifiedName(String reportName)
Set up the unique name of the discovery analysis report that will result from this discovery request. The discovery engine will set up a default fully-qualified name. This method enables it to be over-ridden.- Parameters:
reportName- String report name
-
getReportDisplayName
public String getReportDisplayName()
Return the display name of the discovery analysis report that will result from this discovery request.- Returns:
- String report name
-
setReportDisplayName
public void setReportDisplayName(String reportName)
Set up the display name of the discovery analysis report that will result from this discovery request. The default name is null.- Parameters:
reportName- String report name
-
getReportDescription
public String getReportDescription()
Return the description for the discovery analysis report that will result from this discovery request. The default value is null.- Returns:
- String report description
-
setReportDescription
public void setReportDescription(String reportDescription)
Set up the description for the discovery analysis report that will result from this discovery request.- Parameters:
reportDescription- String report description
-
getCreationDate
public Date getCreationDate()
Return the creation date for the discovery analysis report that will result from this discovery request.- Returns:
- Date that the report was created.
-
-