Package com.avoka.fc.core.service
Class SystemAlertService
- java.lang.Object
-
- com.avoka.fc.core.service.BaseService
-
- com.avoka.fc.core.service.SystemAlertService
-
public class SystemAlertService extends BaseService
Provides a System Alerting service to notify administrators when significant errors occur.- Since:
- 4.1.0
-
-
Constructor Summary
Constructors Constructor Description SystemAlertService()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
sendSystemAlert(String message, String groupName)
Deprecated.usesendSystemAlert(String, String, Client)
instead.void
sendSystemAlert(String message, String groupName, Client client)
Sent TM System Alert error email to the specified alert group members who can access the specified client, or if no client was specified, have global access.void
sendSystemAlerts(List<String> messages, String groupName)
Deprecated.usesendSystemAlerts(List, String, Client)
instead.void
sendSystemAlerts(List<String> messages, String groupName, Client client)
Send TM System Alert email to messages to the specified alert group members who can access the specified client, or if no client was specified, have global access.-
Methods inherited from class com.avoka.fc.core.service.BaseService
getLogger
-
-
-
-
Method Detail
-
sendSystemAlert
public void sendSystemAlert(String message, String groupName, Client client)
Sent TM System Alert error email to the specified alert group members who can access the specified client, or if no client was specified, have global access.- Parameters:
message
- the alert error message line to send (required)groupName
- the alert group name (required)client
- the organization to which the alert relates (optional; if null, only users with the global access flag will be notified)- Since:
- 4.1.13
-
sendSystemAlerts
public void sendSystemAlerts(List<String> messages, String groupName, Client client)
Send TM System Alert email to messages to the specified alert group members who can access the specified client, or if no client was specified, have global access.- Parameters:
messages
- the list of alert error message line to send (required)groupName
- the alert group name (required)client
- the organization to which the alert relates (optional; if null, only users with the global access flag will be notified)- Since:
- 4.1.13
-
sendSystemAlert
public void sendSystemAlert(String message, String groupName)
Deprecated.usesendSystemAlert(String, String, Client)
instead.Deprecated.- Parameters:
message
- deprecatedgroupName
- deprecated
-
sendSystemAlerts
public void sendSystemAlerts(List<String> messages, String groupName)
Deprecated.usesendSystemAlerts(List, String, Client)
instead.Deprecated- Parameters:
messages
- deprecatedgroupName
- deprecated
-
-