org.rhq.core.domain.discovery
Class InventoryReport
java.lang.Object
org.rhq.core.domain.discovery.InventoryReport
- All Implemented Interfaces:
- Serializable
public class InventoryReport
- extends Object
- implements Serializable
This tracks the results of an inventory discovery scan and is used to send the information back to the server when
appropriate.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InventoryReport
public InventoryReport(Agent agent)
getRequestId
public long getRequestId()
setRequestId
public void setRequestId(long requestId)
getAgent
public Agent getAgent()
getAddedRoots
public Set<Resource> getAddedRoots()
addAddedRoot
public void addAddedRoot(Resource resource)
getErrors
public List<org.rhq.core.util.exception.ExceptionPackage> getErrors()
addError
public void addError(org.rhq.core.util.exception.ExceptionPackage error)
getStartTime
public long getStartTime()
setStartTime
public void setStartTime(long startTime)
getEndTime
public long getEndTime()
setEndTime
public void setEndTime(long endTime)
isRuntimeReport
public boolean isRuntimeReport()
setRuntimeReport
public void setRuntimeReport(boolean runtimeReport)
getResourceCount
public int getResourceCount()
- Returns:
- a count of the total number of resources to be added in this report
Copyright © 2008 RHQ Project Advisory Board (Red Hat, Inc. and Hyperic, Inc.). All Rights Reserved.