Class DMSObserveEvent$


  • public class DMSObserveEvent$
    extends java.lang.Object
    DMS 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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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.
      ObserveEvent metadataAvailable​(ExposureId exposureId)
      This event indicates DMS has ingested the metadata following the exposureEnd.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • MODULE$

        public static final DMSObserveEvent$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • DMSObserveEvent$

        public DMSObserveEvent$()
    • Method Detail

      • metadataAvailable

        public 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 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