public class DiscoveryContext extends PropertyBase
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,String> |
analysisParameters |
protected DiscoveryAnnotationStore |
annotationStore |
protected String |
assetGUID |
protected DiscoveryAssetStore |
assetStore |
protected Date |
creationDate |
protected String |
discoveryReportGUID |
protected String |
reportDescription |
protected String |
reportDisplayName |
protected String |
reportQualifiedName |
protected List<String> |
requestedAnnotationTypes |
protected String |
userId |
| Constructor and Description |
|---|
DiscoveryContext(DiscoveryContext template)
Copy/clone Constructor
|
DiscoveryContext(String userId,
String assetGUID,
String discoveryReportGUID,
Map<String,String> analysisParameters,
List<String> requestedAnnotationTypes,
DiscoveryAssetStore assetStore,
DiscoveryAnnotationStore annotationStore)
Constructor sets up the key parameters for accessing the annotations store.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
|
Map<String,String> |
getAnalysisParameters()
Return the properties that hold the parameters used to drive the discovery service's analysis.
|
DiscoveryAnnotationStore |
getAnnotationStore()
Return the annotation store for the discovery engine.
|
String |
getAssetGUID()
Return the unique identifier of the asset being discovered.
|
DiscoveryAssetStore |
getAssetStore()
Return the asset store for the discovery engine.
|
Date |
getCreationDate()
Return the creation date for the discovery analysis report that will result from this discovery request.
|
String |
getDiscoveryReportGUID()
Return the report identifier for this discovery context.
|
String |
getReportDescription()
Return the description for the discovery analysis report that will result from this discovery request.
|
String |
getReportDisplayName()
Return the display name of the discovery analysis report that will result from this discovery request.
|
String |
getReportQualifiedName()
Return the unique name of the discovery analysis report that will result from this discovery request.
|
List<String> |
getRequestedAnnotationTypes()
Return the list of annotation types required by the requester (null means all types available)
|
int |
hashCode()
Create a hash code for this element type.
|
void |
setReportDescription(String reportDescription)
Set up the description for the discovery analysis report that will result from this discovery request.
|
void |
setReportDisplayName(String reportName)
Set up the display name of the discovery analysis report that will result from this discovery request.
|
void |
setReportQualifiedName(String reportName)
Set up the unique name of the discovery analysis report that will result from this discovery request.
|
String |
toString()
Standard toString method.
|
protected String userId
protected String assetGUID
protected String discoveryReportGUID
protected DiscoveryAssetStore assetStore
protected DiscoveryAnnotationStore annotationStore
protected Date creationDate
protected String reportQualifiedName
protected String reportDisplayName
protected String reportDescription
public DiscoveryContext(String userId, String assetGUID, String discoveryReportGUID, Map<String,String> analysisParameters, List<String> requestedAnnotationTypes, DiscoveryAssetStore assetStore, DiscoveryAnnotationStore annotationStore)
userId - calling userassetGUID - unique identifier of the asset that the annotations should be attached todiscoveryReportGUID - unique identifier of the discovery request that is used to identifier the
discovery report.analysisParameters - name-value properties to control the discovery servicerequestedAnnotationTypes - annotation types to createassetStore - discovery asset store for the discovery serviceannotationStore - annotation store for the discovery servicepublic DiscoveryContext(DiscoveryContext template)
template - object being copiedpublic String getAssetGUID()
public String getDiscoveryReportGUID()
public Map<String,String> getAnalysisParameters()
public List<String> getRequestedAnnotationTypes()
public DiscoveryAssetStore getAssetStore()
public DiscoveryAnnotationStore getAnnotationStore()
public Date getCreationDate()
public String getReportQualifiedName()
public void setReportQualifiedName(String reportName)
reportName - String report namepublic String getReportDisplayName()
public void setReportDisplayName(String reportName)
reportName - String report namepublic String getReportDescription()
public void setReportDescription(String reportDescription)
reportDescription - String report descriptionpublic String toString()
public boolean equals(Object objectToCompare)
Copyright © 2018–2019 ODPi. All rights reserved.