Interface CollectionSet
-
- All Superinterfaces:
CollectionVisitable
- All Known Implementing Classes:
AbstractCollectionSet,CollectionSetDTO,MultiResourceCollectionSet,SingleResourceCollectionSet,SnmpCollectionSet
public interface CollectionSet extends CollectionVisitable
CollectionSetrepresents the results of a collection and generally includes aListofCollectionResourceinstances that were created during the collection.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DategetCollectionTimestamp()Returns the timestamp of when this data collection was taken.default OptionalLonggetSequenceNumber()CollectionStatusgetStatus()booleanignorePersist()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
-
-