public class Operator extends Object
Modifier and Type | Method and Description |
---|---|
void |
addEmail(String emailAddress)
Sets an e-mail address to which a notified sent.
|
void |
addEmail(String emailAddress,
CalendarCondition condition)
Sets an e-mail address to which a notified sent on the specified calendar condition.
|
void |
addOperator(UC4ObjectName operator)
Adds a new Operator without a calendar condition.
|
void |
addOperator(UC4ObjectName operator,
CalendarCondition condition)
Adds a new Operator which is notified on the specified calendar condition.
|
void |
clear()
Removes all recipients.
|
Iterator<ICallOperatorCondition> |
operatorIterator()
Returns an iterator over
ICallOperatorCondition . |
int |
operatorSize()
Returns the number of operator entries returned by the
operatorIterator method. |
boolean |
removeMail(String emailAddress)
Removes the specified Operator from this Notification.
|
boolean |
removeOperator(UC4ObjectName operator)
Removes the specified Operator from this Notification.
|
public void clear()
public void addOperator(UC4ObjectName operator, CalendarCondition condition)
operator
- Operator which should be notified when this Notification startscondition
- Calendar conditionpublic void addEmail(String emailAddress, CalendarCondition condition)
emailAddress
- e-mail addresscondition
- Calendar conditionpublic void addOperator(UC4ObjectName operator)
operator
- Operator which should be notified when this Notification startspublic void addEmail(String emailAddress)
emailAddress
- e-mail addresspublic boolean removeOperator(UC4ObjectName operator)
operator
- Name of an Operator or UserGrouppublic boolean removeMail(String emailAddress)
emailAddress
- e-mail addresspublic Iterator<ICallOperatorCondition> operatorIterator()
ICallOperatorCondition
.public int operatorSize()
operatorIterator
method.Copyright © 2021. All rights reserved.