Class BSFEngineHandler

    • Constructor Summary

      Constructors 
      Constructor Description
      BSFEngineHandler()
      Instantiates a new BSF engine handler.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean accepts​(NorthboundAlarm alarm)
      Accepts.
      java.lang.String getClassName()
      Gets the class name.
      java.lang.String getExtensions()
      Gets the extensions.
      java.lang.String getFilter()
      Gets the filter.
      java.lang.String getLanguage()
      Gets the language.
      java.lang.String getName()
      Gets the destination name.
      java.lang.String getOnAlarm()
      Gets the on alarm.
      java.lang.String getOnStart()
      Gets the on start.
      java.lang.String getOnStop()
      Gets the on stop.
      boolean isFirstOccurrenceOnly()
      Checks if is first occurrence only.
      void setClassName​(java.lang.String className)
      Sets the class name.
      void setExtensions​(java.lang.String extensions)
      Sets the extensions.
      void setFilter​(java.lang.String filter)
      Sets the filter.
      void setLanguage​(java.lang.String language)
      Sets the language.
      void setName​(java.lang.String name)
      Sets the name.
      void setOnAlarm​(java.lang.String onAlarm)
      Sets the on alarm.
      void setOnStart​(java.lang.String onStart)
      Sets the on start.
      void setOnStop​(java.lang.String onStop)
      Sets the on stop.
      • Methods inherited from class java.lang.Object

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

      • BSFEngineHandler

        public BSFEngineHandler()
        Instantiates a new BSF engine handler.
    • Method Detail

      • isFirstOccurrenceOnly

        public boolean isFirstOccurrenceOnly()
        Description copied from interface: Destination
        Checks if is first occurrence only.
        Specified by:
        isFirstOccurrenceOnly in interface Destination
        Returns:
        true, if is first occurrence only
      • getName

        public java.lang.String getName()
        Description copied from interface: Destination
        Gets the destination name.
        Specified by:
        getName in interface Destination
        Returns:
        the destination name
      • setName

        public void setName​(java.lang.String name)
        Sets the name.
        Parameters:
        name - the new name
      • getFilter

        public java.lang.String getFilter()
        Gets the filter.
        Returns:
        the filter
      • setFilter

        public void setFilter​(java.lang.String filter)
        Sets the filter.
        Parameters:
        filter - the new filter
      • getLanguage

        public java.lang.String getLanguage()
        Gets the language.
        Returns:
        the language
      • setLanguage

        public void setLanguage​(java.lang.String language)
        Sets the language.
        Parameters:
        language - the new language
      • getClassName

        public java.lang.String getClassName()
        Gets the class name.
        Returns:
        the class name
      • setClassName

        public void setClassName​(java.lang.String className)
        Sets the class name.
        Parameters:
        className - the new class name
      • getExtensions

        public java.lang.String getExtensions()
        Gets the extensions.
        Returns:
        the extensions
      • setExtensions

        public void setExtensions​(java.lang.String extensions)
        Sets the extensions.
        Parameters:
        extensions - the new extensions
      • getOnStart

        public java.lang.String getOnStart()
        Gets the on start.
        Returns:
        the on start
      • setOnStart

        public void setOnStart​(java.lang.String onStart)
        Sets the on start.
        Parameters:
        onStart - the new on start
      • getOnStop

        public java.lang.String getOnStop()
        Gets the on stop.
        Returns:
        the on stop
      • setOnStop

        public void setOnStop​(java.lang.String onStop)
        Sets the on stop.
        Parameters:
        onStop - the new on stop
      • getOnAlarm

        public java.lang.String getOnAlarm()
        Gets the on alarm.
        Returns:
        the on alarm
      • setOnAlarm

        public void setOnAlarm​(java.lang.String onAlarm)
        Sets the on alarm.
        Parameters:
        onAlarm - the new on alarm
      • accepts

        public boolean accepts​(NorthboundAlarm alarm)
        Accepts.

        If the engine doesn't have filter, the method will return true.

        If the method has a filter, it will be evaluated.

        Parameters:
        alarm - the alarm
        Returns:
        true, if successful