public abstract class DiscoveryEngine extends Object
| Constructor and Description |
|---|
DiscoveryEngine() |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
discoverAsset(String userId,
String assetGUID,
String assetType)
Request the execution of a discovery service to explore a specific asset.
|
abstract String |
discoverAsset(String userId,
String assetGUID,
String assetType,
Map<String,String> analysisParameters)
Request the execution of a discovery service to explore a specific asset.
|
abstract String |
discoverAsset(String userId,
String assetGUID,
String assetType,
Map<String,String> analysisParameters,
List<String> annotationTypes)
Request the execution of a discovery service to explore a specific asset.
|
abstract Annotation |
getAnnotation(String userId,
String discoveryRequestGUID,
String annotationGUID)
Retrieve a single annotation by unique identifier.
|
abstract DiscoveryAnalysisReport |
getDiscoveryReport(String userId,
String discoveryRequestGUID)
Request the discovery report for a discovery request that has completed.
|
abstract List<Annotation> |
getDiscoveryReportAnnotations(String userId,
String discoveryRequestGUID,
int startingFrom,
int maximumResults)
Return the annotations linked direction to the report.
|
abstract DiscoveryRequestStatus |
getDiscoveryStatus(String userId,
String discoveryRequestGUID)
Request the status of an executing discovery request.
|
abstract List<Annotation> |
getExtendedAnnotations(String userId,
String discoveryRequestGUID,
String annotationGUID,
int startingFrom,
int maximumResults)
Return any annotations attached to this annotation.
|
public abstract String discoverAsset(String userId, String assetGUID, String assetType) throws InvalidParameterException, UserNotAuthorizedException, DiscoveryEngineException
userId - identifier of calling userassetGUID - identifier of the asset to analyze.assetType - identifier of the type of asset to analyze - this determines which discovery service to run.InvalidParameterException - one of the parameters is null or invalid.UserNotAuthorizedException - user not authorized to issue this request.DiscoveryEngineException - there was a problem detected by the discovery engine.public abstract String discoverAsset(String userId, String assetGUID, String assetType, Map<String,String> analysisParameters) throws InvalidParameterException, UserNotAuthorizedException, DiscoveryEngineException
userId - identifier of calling userassetGUID - identifier of the asset to analyze.assetType - identifier of the type of asset to analyze - this determines which discovery service to run.analysisParameters - name value properties to control the analysisInvalidParameterException - one of the parameters is null or invalid.UserNotAuthorizedException - user not authorized to issue this request.DiscoveryEngineException - there was a problem detected by the discovery engine.public abstract String discoverAsset(String userId, String assetGUID, String assetType, Map<String,String> analysisParameters, List<String> annotationTypes) throws InvalidParameterException, UserNotAuthorizedException, DiscoveryEngineException
userId - identifier of calling userassetGUID - identifier of the asset to analyze.assetType - identifier of the type of asset to analyze - this determines which discovery service to run.analysisParameters - name value properties to control the analysisannotationTypes - list of the types of annotations to produce (and no others)InvalidParameterException - one of the parameters is null or invalid.UserNotAuthorizedException - user not authorized to issue this request.DiscoveryEngineException - there was a problem detected by the discovery engine.public abstract DiscoveryRequestStatus getDiscoveryStatus(String userId, String discoveryRequestGUID) throws InvalidParameterException, UserNotAuthorizedException, DiscoveryEngineException
userId - identifier of calling userdiscoveryRequestGUID - identifier of the discovery request.InvalidParameterException - one of the parameters is null or invalid.UserNotAuthorizedException - user not authorized to issue this request.DiscoveryEngineException - there was a problem detected by the discovery engine.public abstract DiscoveryAnalysisReport getDiscoveryReport(String userId, String discoveryRequestGUID) throws InvalidParameterException, UserNotAuthorizedException, DiscoveryEngineException
userId - identifier of calling userdiscoveryRequestGUID - identifier of the discovery request.InvalidParameterException - one of the parameters is null or invalid.UserNotAuthorizedException - user not authorized to issue this request.DiscoveryEngineException - there was a problem detected by the discovery engine.public abstract List<Annotation> getDiscoveryReportAnnotations(String userId, String discoveryRequestGUID, int startingFrom, int maximumResults) throws InvalidParameterException, UserNotAuthorizedException, DiscoveryEngineException
userId - identifier of calling userdiscoveryRequestGUID - identifier of the discovery request.startingFrom - initial position in the stored list.maximumResults - maximum number of definitions to return on this call.InvalidParameterException - one of the parameters is null or invalid.UserNotAuthorizedException - user not authorized to issue this request.DiscoveryEngineException - there was a problem detected by the discovery engine.public abstract List<Annotation> getExtendedAnnotations(String userId, String discoveryRequestGUID, String annotationGUID, int startingFrom, int maximumResults) throws InvalidParameterException, UserNotAuthorizedException, DiscoveryEngineException
userId - identifier of calling userdiscoveryRequestGUID - identifier of the discovery request.annotationGUID - anchor annotationstartingFrom - starting position in the listmaximumResults - maximum number of annotations that can be returned.InvalidParameterException - one of the parameters is null or invalid.UserNotAuthorizedException - user not authorized to issue this request.DiscoveryEngineException - there was a problem detected by the discovery engine.public abstract Annotation getAnnotation(String userId, String discoveryRequestGUID, String annotationGUID) throws InvalidParameterException, UserNotAuthorizedException, DiscoveryEngineException
userId - identifier of calling userdiscoveryRequestGUID - identifier of the discovery request.annotationGUID - unique identifier of the annotationInvalidParameterException - one of the parameters is null or invalid.UserNotAuthorizedException - user not authorized to issue this request.DiscoveryEngineException - there was a problem detected by the discovery engine.Copyright © 2018–2019 ODPi. All rights reserved.