Interface CollectionSet
-
- All Superinterfaces:
CollectionVisitable
- All Known Implementing Classes:
AbstractCollectionSet
,CollectionSetDTO
,MultiResourceCollectionSet
,SingleResourceCollectionSet
,SnmpCollectionSet
public interface CollectionSet extends CollectionVisitable
CollectionSet
represents the results of a collection and generally includes aList
ofCollectionResource
instances that were created during the collection.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Date
getCollectionTimestamp()
Returns the timestamp of when this data collection was taken.default OptionalLong
getSequenceNumber()
CollectionStatus
getStatus()
boolean
ignorePersist()
ignorePersist-
Methods inherited from interface org.opennms.netmgt.collection.api.CollectionVisitable
visit
-
-
-
-
Method Detail
-
getStatus
CollectionStatus getStatus()
-
ignorePersist
boolean ignorePersist()
ignorePersist
- Returns:
- a boolean.
-
getCollectionTimestamp
Date getCollectionTimestamp()
Returns the timestamp of when this data collection was taken. Used by thresholding.- Returns:
-
getSequenceNumber
default OptionalLong getSequenceNumber()
- Returns:
- an optional containing the sequence number of the source this collection set was built from if applicable, otherwise an empty optional
-
-