public class DiscoveryContext extends PropertyBase
| Constructor and Description |
|---|
DiscoveryContext(DiscoveryContext template)
Copy/clone Constructor
|
DiscoveryContext(String userId,
String assetGUID,
Map<String,String> analysisParameters,
List<String> requestedAnnotationTypes,
DiscoveryAssetStore assetStore,
DiscoveryAnnotationStore annotationStore,
DiscoveryAssetCatalogStore assetCatalogStore)
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.
|
DiscoveryAssetCatalogStore |
getAssetCatalogStore()
Return the asset catalog store that provides the ability to query assets.
|
String |
getAssetGUID()
Return the unique identifier of the asset being discovered.
|
DiscoveryAssetStore |
getAssetStore()
Return the asset store for the discovery engine.
|
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.
|
String |
toString()
Standard toString method.
|
public DiscoveryContext(String userId, String assetGUID, Map<String,String> analysisParameters, List<String> requestedAnnotationTypes, DiscoveryAssetStore assetStore, DiscoveryAnnotationStore annotationStore, DiscoveryAssetCatalogStore assetCatalogStore)
userId - calling userassetGUID - unique identifier of the asset that the annotations should be attached toanalysisParameters - name-value properties to control the discovery servicerequestedAnnotationTypes - annotation types to createassetStore - discovery asset store for the discovery serviceannotationStore - annotation store for the discovery serviceassetCatalogStore - the asset catalog store that provides the ability to query assets.public DiscoveryContext(DiscoveryContext template)
template - object being copiedpublic String getAssetGUID()
public Map<String,String> getAnalysisParameters()
public List<String> getRequestedAnnotationTypes()
public DiscoveryAssetCatalogStore getAssetCatalogStore()
public DiscoveryAssetStore getAssetStore()
public DiscoveryAnnotationStore getAnnotationStore()
public String toString()
public boolean equals(Object objectToCompare)
Copyright © 2018–2020 ODPi. All rights reserved.