Package csw.params.events
Class DMSObserveEvent
- java.lang.Object
-
- csw.params.events.DMSObserveEvent
-
public class DMSObserveEvent extends java.lang.Object
DMS system notifies other systems by publishing these two observe events.
-
-
Constructor Summary
Constructors Constructor Description DMSObserveEvent()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ObserveEvent
exposureAvailable(ExposureId exposureId)
This event indicates that the raw science exposure has been stored and internal databases have been updated such that a client can request the exposure.static ObserveEvent
metadataAvailable(ExposureId exposureId)
This event indicates DMS has ingested the metadata following the exposureEnd.
-
-
-
Method Detail
-
metadataAvailable
public static ObserveEvent metadataAvailable(ExposureId exposureId)
This event indicates DMS has ingested the metadata following the exposureEnd.- Parameters:
exposureId
-ExposureId
is an identifier in ESW/DMS for a single exposure. The ExposureId follows the structure: 2020A-001-123-WFOS-IMG1-SCI0-0001 with an included ObsId or when no ObsId is present, in the standalone format: 20200706-190204-WFOS-IMG1-SCI0-0001 with a UTC time when the ExposureId is created.- Returns:
ObserveEvent
-
exposureAvailable
public static ObserveEvent exposureAvailable(ExposureId exposureId)
This event indicates that the raw science exposure has been stored and internal databases have been updated such that a client can request the exposure.- Parameters:
exposureId
-ExposureId
is an identifier in ESW/DMS for a single exposure. The ExposureId follows the structure: 2020A-001-123-WFOS-IMG1-SCI0-0001 with an included ObsId or when no ObsId is present, in the standalone format: 20200706-190204-WFOS-IMG1-SCI0-0001 with a UTC time when the ExposureId is created.- Returns:
ObserveEvent
-
-