public class MyAppInventory extends Object
| Constructor and Description |
|---|
MyAppInventory() |
| Modifier and Type | Method and Description |
|---|---|
void |
addResource(org.hawkular.agent.monitor.inventory.Resource<MyAppNodeLocation> newResource) |
org.hawkular.agent.monitor.inventory.Resource<MyAppNodeLocation> |
getResource(String id) |
org.hawkular.agent.monitor.inventory.ResourceManager<MyAppNodeLocation> |
getResourceManager() |
org.hawkular.agent.monitor.inventory.ResourceTypeManager<MyAppNodeLocation> |
getResourceTypeManager() |
org.hawkular.agent.monitor.inventory.Resource<MyAppNodeLocation> |
instantiateResource(String resourceId)
Creates a resource with the given ID.
|
void |
removeResource(org.hawkular.agent.monitor.inventory.Resource<MyAppNodeLocation> doomedResource) |
public org.hawkular.agent.monitor.inventory.ResourceManager<MyAppNodeLocation> getResourceManager()
public org.hawkular.agent.monitor.inventory.ResourceTypeManager<MyAppNodeLocation> getResourceTypeManager()
public org.hawkular.agent.monitor.inventory.Resource<MyAppNodeLocation> instantiateResource(String resourceId)
addResource(Resource).resourceId - the ID of the resource to createpublic void addResource(org.hawkular.agent.monitor.inventory.Resource<MyAppNodeLocation> newResource)
public void removeResource(org.hawkular.agent.monitor.inventory.Resource<MyAppNodeLocation> doomedResource)
public org.hawkular.agent.monitor.inventory.Resource<MyAppNodeLocation> getResource(String id)
Copyright © 2015–2017 Red Hat, Inc.. All rights reserved.