Class AlarmFeedbackDaoImpl

  • All Implemented Interfaces:
    org.opennms.integration.api.v1.dao.AlarmFeedbackDao

    public class AlarmFeedbackDaoImpl
    extends java.lang.Object
    implements org.opennms.integration.api.v1.dao.AlarmFeedbackDao
    The implementation for the integration API AlarmFeedbackDao. Used to get/submit feedback.
    • Constructor Summary

      Constructors 
      Constructor Description
      AlarmFeedbackDaoImpl​(long gracePeriodInMs, long sleepTimeInMs, long waitTimeMs)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<org.opennms.integration.api.v1.model.AlarmFeedback> getFeedback()  
      void submitFeedback​(java.util.List<org.opennms.integration.api.v1.model.AlarmFeedback> alarmFeedback)  
      • Methods inherited from class java.lang.Object

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

      • AlarmFeedbackDaoImpl

        public AlarmFeedbackDaoImpl​(long gracePeriodInMs,
                                    long sleepTimeInMs,
                                    long waitTimeMs)
        Parameters:
        gracePeriodInMs - a grace period of time to allow the implementation to show up on initial startup
        sleepTimeInMs - how long to sleep in between attempts to find an implementation of the service
        waitTimeMs - how long to block waiting for an implementation of the service
    • Method Detail

      • getFeedback

        public java.util.List<org.opennms.integration.api.v1.model.AlarmFeedback> getFeedback()
        Specified by:
        getFeedback in interface org.opennms.integration.api.v1.dao.AlarmFeedbackDao
      • submitFeedback

        public void submitFeedback​(java.util.List<org.opennms.integration.api.v1.model.AlarmFeedback> alarmFeedback)
        Specified by:
        submitFeedback in interface org.opennms.integration.api.v1.dao.AlarmFeedbackDao