Class BSFEngineHandler

    • 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 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​(String name)
        Sets the name.
        Parameters:
        name - the new name
      • getFilter

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

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

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

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

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

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

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

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

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

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

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

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

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

        public void setOnAlarm​(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