public class BSFEngineHandler extends Object implements Destination
Constructor and Description |
---|
BSFEngineHandler()
Instantiates a new BSF engine handler.
|
Modifier and Type | Method and Description |
---|---|
boolean |
accepts(NorthboundAlarm alarm)
Accepts.
|
String |
getClassName()
Gets the class name.
|
String |
getExtensions()
Gets the extensions.
|
String |
getFilter()
Gets the filter.
|
String |
getLanguage()
Gets the language.
|
String |
getName()
Gets the destination name.
|
String |
getOnAlarm()
Gets the on alarm.
|
String |
getOnStart()
Gets the on start.
|
String |
getOnStop()
Gets the on stop.
|
boolean |
isFirstOccurrenceOnly()
Checks if is first occurrence only.
|
void |
setClassName(String className)
Sets the class name.
|
void |
setExtensions(String extensions)
Sets the extensions.
|
void |
setFilter(String filter)
Sets the filter.
|
void |
setLanguage(String language)
Sets the language.
|
void |
setName(String name)
Sets the name.
|
void |
setOnAlarm(String onAlarm)
Sets the on alarm.
|
void |
setOnStart(String onStart)
Sets the on start.
|
void |
setOnStop(String onStop)
Sets the on stop.
|
public BSFEngineHandler()
public boolean isFirstOccurrenceOnly()
Destination
isFirstOccurrenceOnly
in interface Destination
public String getName()
Destination
getName
in interface Destination
public void setName(String name)
name
- the new namepublic String getFilter()
public void setFilter(String filter)
filter
- the new filterpublic String getLanguage()
public void setLanguage(String language)
language
- the new languagepublic String getClassName()
public void setClassName(String className)
className
- the new class namepublic String getExtensions()
public void setExtensions(String extensions)
extensions
- the new extensionspublic String getOnStart()
public void setOnStart(String onStart)
onStart
- the new on startpublic String getOnStop()
public void setOnStop(String onStop)
onStop
- the new on stoppublic String getOnAlarm()
public void setOnAlarm(String onAlarm)
onAlarm
- the new on alarmpublic boolean accepts(NorthboundAlarm alarm)
If the engine doesn't have filter, the method will return true.
If the method has a filter, it will be evaluated.
alarm
- the alarmCopyright © 2021. All rights reserved.