public class NotificationAttributes
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
NotificationAttributes(com.uc4.util.XMLDocument doc) |
Modifier and Type | Method and Description |
---|---|
DeactivateCondition |
getDeactivate()
Returns the deactivate condition for this Job.
|
UC4ObjectName |
getEscalationCallOperator()
Returns the escalation Notification.
|
int |
getEscalationMinutes()
Returns the time limit in minutes.
|
ExtendedReports |
getExtendedReports()
Returns the setting for extended reports.
|
java.lang.String |
getIntAccount()
Returns the internal account assigned to this Notification.
|
int |
getPriority()
Priority with which this Notification should be executed in the Automation Engine.
|
UC4ObjectName |
getQueue()
Returns the Queue Object.
|
UC4ObjectName |
getStartType()
Returns the start type of this Notification.
|
UC4TimezoneName |
getTimezone()
Returns the TimeZone that is to be used.
|
boolean |
isAutoDeactivation()
Returns
true if automatic deactivation of the predecessor is enabled. |
boolean |
isCallPriorityHigh()
Returns
true if the Notification priority is high. |
boolean |
isCallPriorityLow()
Returns
true if the Notification priority is low. |
boolean |
isCallPriorityMedium()
Returns
true if the Notification priority is medium. |
boolean |
isGenerateAtRuntime()
Returns
true if this Notification should not be generated at activation time
but rather at runtime. |
boolean |
isSendEmail()
Returns
true if e-mails are sent to the responsible operators at CallOperator start. |
boolean |
isSnmp()
Returns
true if SNMP is enabled. |
boolean |
isTypeAlarm()
Returns
true if this Notification has type "Alarm". |
boolean |
isTypeEmail()
Returns
true if this Notification has type "Email". |
boolean |
isTypeMessage()
Returns
true if this Notification has type "Message". |
boolean |
isTypeRequest()
Returns
true if this Notification has type "Request". |
MaxParallel |
maxParallel()
Returns settings for parallel tasks.
|
void |
setAutoDeactivation(boolean autoDeactivation)
Enables or disables the automatic deactivation of the predecessor.
|
void |
setCallPriorityHigh()
Sets the Notification priority to high.
|
void |
setCallPriorityLow()
Sets the Notification priority to low.
|
void |
setCallPriorityMedium()
Sets the Notification priority to medium.
|
void |
setDeactivate(DeactivateCondition deactivate)
Sets the deactivate condition for this Job.
|
void |
setEscalationCallOperator(UC4ObjectName escalationCallOperator)
Sets an additional Notification which will be activated if the controlling operator does not respond.
|
void |
setEscalationMinutes(int escalationMinutes)
Sets the time limit, in minutes, in which the controlling operator has to respond.
|
void |
setExtendedReports(ExtendedReports extendedReports)
Sets the option for extended reports.
|
void |
setGenerateAtRuntime(boolean generateAtRuntime)
Sets if this Notification should be generated at runtime.
|
void |
setIntAccount(java.lang.String intAccount)
Sets the internal account, max.
|
void |
setPriority(int priority)
Priority with which this Notification should be executed in the Automation Engine.
|
void |
setQueue(UC4ObjectName queue)
Sets the Queue that will be used when this object is executed.
|
void |
setSendEmail(boolean sendEmail)
Enables or disables sending of emails.
|
void |
setSnmp(boolean snmp)
Enables or disables SNMP.
|
void |
setStartType(UC4ObjectName startType)
Sets the start type of this Notification.
|
void |
setTimezone(UC4TimezoneName timezone)
Sets the TimeZone for this Notification.
|
void |
setTypeAlarm()
Selects the type "Alarm" for this Notification.
|
void |
setTypeEmail()
Selects the type "Email" for this Notification.
|
void |
setTypeMessage()
Selects the type "Message" for this Notification.
|
void |
setTypeRequest()
Selects the type "Request" for this Notification.
|
protected void |
store(com.uc4.util.XMLDocument doc,
org.w3c.dom.Element request) |
protected NotificationAttributes(com.uc4.util.XMLDocument doc)
protected void store(com.uc4.util.XMLDocument doc, org.w3c.dom.Element request)
public UC4ObjectName getQueue()
public void setQueue(UC4ObjectName queue)
queue
- Name of the Queue Objectpublic int getEscalationMinutes()
public void setEscalationMinutes(int escalationMinutes)
escalationMinutes
- Time limit in minutespublic UC4ObjectName getEscalationCallOperator()
public void setEscalationCallOperator(UC4ObjectName escalationCallOperator)
escalationCallOperator
- Notificationpublic boolean isAutoDeactivation()
true
if automatic deactivation of the predecessor is enabled.public void setAutoDeactivation(boolean autoDeactivation)
autoDeactivation
- Boolean to enable or disable automatic deactivationpublic boolean isSendEmail()
true
if e-mails are sent to the responsible operators at CallOperator start.public void setSendEmail(boolean sendEmail)
sendEmail
is set to true
e-mails are also sent to
the responsible operators at CallOperator start.
Two e-mail addresses may be specified in User objects.
E-mails are then sent to both addresses.sendEmail
- Boolean value to enable or disable emailpublic boolean isSnmp()
true
if SNMP is enabled.public void setSnmp(boolean snmp)
snmp
- Boolean value to enable or disable SNMP Trapspublic UC4ObjectName getStartType()
public void setStartType(UC4ObjectName startType)
startType
- Start typepublic java.lang.String getIntAccount()
public void setIntAccount(java.lang.String intAccount)
intAccount
- Internal accountpublic int getPriority()
public void setPriority(int priority)
priority
- Prioritypublic void setCallPriorityLow()
public void setCallPriorityMedium()
public void setCallPriorityHigh()
public boolean isCallPriorityLow()
true
if the Notification priority is low.public boolean isCallPriorityMedium()
true
if the Notification priority is medium.public boolean isCallPriorityHigh()
true
if the Notification priority is high.public void setTypeRequest()
public void setTypeAlarm()
public void setTypeEmail()
public void setTypeMessage()
public boolean isTypeRequest()
true
if this Notification has type "Request".public boolean isTypeAlarm()
true
if this Notification has type "Alarm".public boolean isTypeEmail()
true
if this Notification has type "Email".public boolean isTypeMessage()
true
if this Notification has type "Message".public boolean isGenerateAtRuntime()
true
if this Notification should not be generated at activation time
but rather at runtime.public void setGenerateAtRuntime(boolean generateAtRuntime)
generateAtRuntime
- If set to true the object is generated at runtimepublic UC4TimezoneName getTimezone()
public void setTimezone(UC4TimezoneName timezone)
timezone
- TimeZonepublic MaxParallel maxParallel()
public DeactivateCondition getDeactivate()
public void setDeactivate(DeactivateCondition deactivate)
deactivate
- Deactivate conditionpublic ExtendedReports getExtendedReports()
public void setExtendedReports(ExtendedReports extendedReports)
extendedReports
- Extended reports.