org.rhq.core.pc.content
Class ScheduledContentDiscoveryInfo
java.lang.Object
org.rhq.core.pc.content.ScheduledContentDiscoveryInfo
- All Implemented Interfaces:
- Comparable<ScheduledContentDiscoveryInfo>
public class ScheduledContentDiscoveryInfo
- extends Object
- implements Comparable<ScheduledContentDiscoveryInfo>
Describes one instance of a content discovery for a particular resource and a particular package type.
- Author:
- Jason Dobies
|
Constructor Summary |
ScheduledContentDiscoveryInfo(int resourceId,
org.rhq.core.domain.content.PackageType packageType)
Creates a new set of data to drive a content discovery. |
ScheduledContentDiscoveryInfo
public ScheduledContentDiscoveryInfo(int resourceId,
org.rhq.core.domain.content.PackageType packageType)
- Creates a new set of data to drive a content discovery.
- Parameters:
resourceId - resource against which to discover; must be a valid resource in the inventorypackageType - type of content being discovered; cannot be null
getResourceId
public int getResourceId()
getPackageType
public org.rhq.core.domain.content.PackageType getPackageType()
getInterval
public long getInterval()
getNextDiscovery
public long getNextDiscovery()
setNextDiscovery
public void setNextDiscovery(long nextDiscovery)
getLastDiscovery
public long getLastDiscovery()
setLastDiscovery
public void setLastDiscovery(long lastDiscovery)
compareTo
public int compareTo(ScheduledContentDiscoveryInfo other)
- Specified by:
compareTo in interface Comparable<ScheduledContentDiscoveryInfo>
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.