public interface DDMManagementService
Modifier and Type | Method and Description |
---|---|
void |
abortRun(DiscoveryContext context)
Stops execution of all tasks associated with the specified context.
|
void |
activate(DiscoveryContext context)
Activates the jobs (discovery, population or activity) defined by the discovery context.
|
void |
activateJobs(HashSet<String> jobs)
Deprecated.
as of UD 10.20, replaced by
activate(com.hp.ucmdb.api.discovery.types.DiscoveryContext) |
void |
clearProbeResultsCacheByDiscoveryContext(DiscoveryContext context)
Clears probe results data for collection of jobs defined by the discovery context
Doesn't clear last successful invocation
|
void |
deactivate(DiscoveryContext context)
Deactivates the discovery, population, or activity jobs that are defined by the discovery context.
|
void |
deactivateJobs(HashSet<String> jobs)
Deprecated.
as of UD 10.20, replaced by
deactivate(com.hp.ucmdb.api.discovery.types.DiscoveryContext) |
Collection<CIErrorData> |
getCIsErrorData(ErrorID errorId)
Returns a collection of CIErrorData with a specified errorId.
|
ContextFactory |
getContextFactory()
Returns the factory that creates
DiscoveryContext objects. |
CredentialErrorType |
getCredentialError(ErrorStatus error)
Returns the credential related errors that occurred during the last Universal Discovery run.
|
DiagnosticInfo |
getDiagnosticInfo(String jobId,
UcmdbId triggerCiId)
Returns the DiagnosticInfo for the execution of the jobId against the specified triggerCiId.
|
DiagnosticInfo |
getDiagnosticInfo(String jobId,
UcmdbId triggerCiId,
long timeout)
Returns the DiagnosticInfo for the execution of the jobId against the specified triggerCiId.
|
DiscoveryFactory |
getDiscoveryFactory()
Returns the factory that creates the objects required by this service.
|
DiscoveryProgressData |
getDiscoveryProgressDashBoard(String... cis)
get discovery progress widget data
|
Collection<ErrorStatus> |
getErrors()
Returns the errors that occurred during the last Universal Discovery run.
|
Collection<ErrorStatus> |
getErrors(DiscoveryContext context)
Returns the errors that occurred
within the specified scope during the last Universal Discovery run.
|
Collection<ErrorStatus> |
getErrors(DiscoveryContext context,
ErrorsFilter filter)
Returns the errors that occurred
within the specified scope during the last Universal Discovery run and that match the specified filter.
|
Collection<ErrorStatus> |
getErrors(ErrorsFilter filter)
Returns the errors that occurred
during the last Universal Discovery run and that match the specified filter.
|
DiscoveryProgress |
getProgress()
Returns the progress of the Universal Discovery run.
|
DiscoveryProgress |
getProgress(DiscoveryContext context)
Deprecated.
|
void |
pause(DiscoveryContext context)
Pauses the jobs defined by the discovery context.
|
void |
reRun(DiscoveryContext context)
Sets all tasks associated with the specified context to be re-executed.
|
void |
resume(DiscoveryContext context)
Resumes the jobs defined by the discovery context
Supported by service discovery context only
|
DiscoveryProgress getProgress()
@Deprecated DiscoveryProgress getProgress(DiscoveryContext context)
context
- the scope on which the information is required.Collection<ErrorStatus> getErrors()
CredentialErrorType getCredentialError(ErrorStatus error)
error
- the error statusCollection<ErrorStatus> getErrors(DiscoveryContext context)
context
- the scope on which the information is required.Collection<ErrorStatus> getErrors(DiscoveryContext context, ErrorsFilter filter)
context
- the scope on which the information is required.filter
- restrictions on the errors to be returned.Collection<ErrorStatus> getErrors(ErrorsFilter filter)
filter
- restrictions on the errors to be returned.Collection<CIErrorData> getCIsErrorData(ErrorID errorId)
errorId
- the error ID.DiagnosticInfo getDiagnosticInfo(String jobId, UcmdbId triggerCiId) throws TimeoutException
jobId
- the desired DiagnosticInfo was collected during the execution of this job.triggerCiId
- the UcmdbId of the CI that is the subject of the DiagnosticInfo.TimeoutException
DiagnosticInfo getDiagnosticInfo(String jobId, UcmdbId triggerCiId, long timeout) throws TimeoutException
jobId
- the of the job.triggerCiId
- the UcmdbId of the CI.timeout
- in milliseconds.TimeoutException
void reRun(DiscoveryContext context)
context
- the scope.void abortRun(DiscoveryContext context)
context
- the scope.DiscoveryFactory getDiscoveryFactory()
ContextFactory getContextFactory()
DiscoveryContext
objects.@Deprecated void activateJobs(HashSet<String> jobs)
activate(com.hp.ucmdb.api.discovery.types.DiscoveryContext)
jobs
- Collection of IDs of the jobs to activate.@Deprecated void deactivateJobs(HashSet<String> jobs)
deactivate(com.hp.ucmdb.api.discovery.types.DiscoveryContext)
jobs
- Collection of IDs of the jobs to deactivate.void activate(DiscoveryContext context)
context
- the discovery context. Specific CIs in the context are ignored.void deactivate(DiscoveryContext context)
context
- the discovery context. Specific CIs in the context are ignored.void pause(DiscoveryContext context)
context
- void resume(DiscoveryContext context)
context
- void clearProbeResultsCacheByDiscoveryContext(DiscoveryContext context)
context
- DiscoveryProgressData getDiscoveryProgressDashBoard(String... cis)
cis
- Documentation Feedback
Copyright 2011 - 2018 Micro Focus or one of its affiliates.