org.rhq.core.domain.discovery
Class InventoryReportResponse

java.lang.Object
  extended by org.rhq.core.domain.discovery.InventoryReportResponse
All Implemented Interfaces:
Serializable

public class InventoryReportResponse
extends Object
implements Serializable

This report is sent in reponse to an InventoryReport being sent to the server. It tells the agent what the persistent resource ids are. TODO GH: This could also be used for a periodic sync when things get out of whack. (The collection, transmission and persistence of inventory is not transactional between the server and agent)

See Also:
Serialized Form

Constructor Summary
InventoryReportResponse()
           
 
Method Summary
 void addIdMapping(String uuid, Integer persistentId)
           
 Map<String,Integer> getUuidToIntegerMapping()
           
 void setUuidToIntegerMapping(Map<String,Integer> uuidToIntegerMapping)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InventoryReportResponse

public InventoryReportResponse()
Method Detail

getUuidToIntegerMapping

public Map<String,Integer> getUuidToIntegerMapping()

setUuidToIntegerMapping

public void setUuidToIntegerMapping(Map<String,Integer> uuidToIntegerMapping)

addIdMapping

public void addIdMapping(String uuid,
                         Integer persistentId)


Copyright © 2008 RHQ Project Advisory Board (Red Hat, Inc. and Hyperic, Inc.). All Rights Reserved.