Package csw.params.events
Class DMSObserveEvent$
- java.lang.Object
-
- csw.params.events.DMSObserveEvent$
-
public class DMSObserveEvent$ extends java.lang.ObjectDMS system notifies other systems by publishing these two observe events.
-
-
Field Summary
Fields Modifier and Type Field Description static DMSObserveEvent$MODULE$Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description DMSObserveEvent$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObserveEventexposureAvailable(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.ObserveEventmetadataAvailable(ExposureId exposureId)This event indicates DMS has ingested the metadata following the exposureEnd.
-
-
-
Field Detail
-
MODULE$
public static final DMSObserveEvent$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
metadataAvailable
public ObserveEvent metadataAvailable(ExposureId exposureId)
This event indicates DMS has ingested the metadata following the exposureEnd.- Parameters:
exposureId-ExposureIdis 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 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-ExposureIdis 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
-
-