public interface DiscoveryBossRemote
| Modifier and Type | Method and Description |
|---|---|
void |
ignoreResources(org.rhq.core.domain.auth.Subject subject,
int[] resourceIds)
Analogous to the GUI feature Ignore Resources in the auto discovery queue.
|
void |
importResources(org.rhq.core.domain.auth.Subject subject,
int[] resourceIds)
Analogous to the GUI feature Import Resources in the auto discovery queue.
|
org.rhq.core.domain.resource.Resource |
manuallyAddResource(org.rhq.core.domain.auth.Subject subject,
int resourceTypeId,
int parentResourceId,
org.rhq.core.domain.configuration.Configuration pluginConfiguration)
Manually Add the resource of the specified type to inventory using the specified plugin configuration (i.e.
|
void |
unignoreAndImportResources(org.rhq.core.domain.auth.Subject subject,
int[] resourceIds)
This is used to specifically unignore previously ignored resources.
|
void |
unignoreResources(org.rhq.core.domain.auth.Subject subject,
int[] resourceIds)
Analogous to the GUI feature Unignore Resources in the auto discovery queue.
|
void importResources(org.rhq.core.domain.auth.Subject subject,
int[] resourceIds)
ResourceManagerRemote.findResourcesByCriteria(org.rhq.core.domain.auth.Subject, org.rhq.core.domain.criteria.ResourceCriteria).subject - resourceIds - void ignoreResources(org.rhq.core.domain.auth.Subject subject,
int[] resourceIds)
ResourceManagerRemote.findResourcesByCriteria(org.rhq.core.domain.auth.Subject, org.rhq.core.domain.criteria.ResourceCriteria).subject - resourceIds - void unignoreResources(org.rhq.core.domain.auth.Subject subject,
int[] resourceIds)
ResourceManagerRemote.findResourcesByCriteria(org.rhq.core.domain.auth.Subject, org.rhq.core.domain.criteria.ResourceCriteria).subject - resourceIds - void unignoreAndImportResources(org.rhq.core.domain.auth.Subject subject,
int[] resourceIds)
ResourceManagerRemote.findResourcesByCriteria(org.rhq.core.domain.auth.Subject, org.rhq.core.domain.criteria.ResourceCriteria).subject - resourceIds - org.rhq.core.domain.resource.Resource manuallyAddResource(org.rhq.core.domain.auth.Subject subject,
int resourceTypeId,
int parentResourceId,
org.rhq.core.domain.configuration.Configuration pluginConfiguration)
throws Exception
subject - the user making the requestresourceTypeId - the type of resource to be manually discoveredparentResourceId - the id of the resource that will be the parent of the manually discovered resourcepluginConfiguration - the properties that should be used to connect to the underlying managed resourceException - if connecting to the underlying managed resource failed due to invalid plugin configuration or
if the manual discovery fails for any reason.Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.