|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DDMManagementService
Services to analyze and view the progress, results, and errors of the DDM run.
Method Summary | |
---|---|
void |
abortRun(DiscoveryContext context)
Stops execution of all tasks associated with the specified context. |
void |
activateJobs(java.util.HashSet<java.lang.String> jobs)
Activates the jobs in the collection. |
void |
deactivateJobs(java.util.HashSet<java.lang.String> jobs)
Deactivate the jobs in the collection. |
java.util.Collection<CIErrorData> |
getCIsErrorData(ErrorID errorId)
Returns a collection of CIErrorData with a specified errorId. |
ContextFactory |
getContextFactory()
Returns the factory that creates DiscoveryContext objects. |
DiagnosticInfo |
getDiagnosticInfo(java.lang.String jobId,
UcmdbId triggerCiId)
Returns the DiagnosticInfo for the execution of the jobId against the specified triggerCiId. |
DiagnosticInfo |
getDiagnosticInfo(java.lang.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. |
java.util.Collection<ErrorStatus> |
getErrors()
Returns the errors that occurred during the last DDM run. |
java.util.Collection<ErrorStatus> |
getErrors(DiscoveryContext context)
Returns the errors that occurred within the specified scope during the last DDM run. |
java.util.Collection<ErrorStatus> |
getErrors(DiscoveryContext context,
ErrorsFilter filter)
Returns the errors that occurred within the specified scope during the last DDM run and that match the specified filter. |
java.util.Collection<ErrorStatus> |
getErrors(ErrorsFilter filter)
Returns the errors that occurred during the last DDM run and that match the specified filter. |
DiscoveryProgress |
getProgress()
Returns the progress of the DDM run. |
DiscoveryProgress |
getProgress(DiscoveryContext context)
Returns the progress of processing the specified context within the DDM run. |
void |
reRun(DiscoveryContext context)
Sets all tasks associated with the specified context to be re-executed. |
Method Detail |
---|
DiscoveryProgress getProgress()
DiscoveryProgress getProgress(DiscoveryContext context)
context
- the scope on which the information is required.
java.util.Collection<ErrorStatus> getErrors()
java.util.Collection<ErrorStatus> getErrors(DiscoveryContext context)
context
- the scope on which the information is required.
java.util.Collection<ErrorStatus> getErrors(DiscoveryContext context, ErrorsFilter filter)
context
- the scope on which the information is required.filter
- restrictions on the errors to be returned.
java.util.Collection<ErrorStatus> getErrors(ErrorsFilter filter)
filter
- restrictions on the errors to be returned.
java.util.Collection<CIErrorData> getCIsErrorData(ErrorID errorId)
errorId
- the error ID.
DiagnosticInfo getDiagnosticInfo(java.lang.String jobId, UcmdbId triggerCiId) throws java.util.concurrent.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.
java.util.concurrent.TimeoutException
DiagnosticInfo getDiagnosticInfo(java.lang.String jobId, UcmdbId triggerCiId, long timeout) throws java.util.concurrent.TimeoutException
jobId
- the of the job.triggerCiId
- the UcmdbId of the CI.timeout
- in milliseconds.
java.util.concurrent.TimeoutException
void reRun(DiscoveryContext context)
context
- the scope.void abortRun(DiscoveryContext context)
context
- the scope.DiscoveryFactory getDiscoveryFactory()
ContextFactory getContextFactory()
DiscoveryContext
objects.
void activateJobs(java.util.HashSet<java.lang.String> jobs)
jobs
- Collection of IDs of the jobs to activate.void deactivateJobs(java.util.HashSet<java.lang.String> jobs)
jobs
- Collection of IDs of the jobs to deactivate.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |