Package wt.jmx.core.mbeans
Interface EmailListMBean
- All Superinterfaces:
SelfEmailingMBean
A named list of e-mail addresses
Supported API: true
Extendable: true
Supported API: true
Extendable: true
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddAddresses(String addressesToAdd) Add one or more e-mail addresses to list
Supported API: trueString[]List of e-mail addresses (as array)
Supported API: trueList of e-mail addresses (as single comma-delimited string)
Supported API: truegetName()Name of e-mail list
Supported API: truevoidremove()Remove this e-mail list
Supported API: truevoidremoveAddresses(String addressesToRemove) Remove one or more e-mail addresses from list
Supported API: truevoidsetAddressList(String addressList) List of e-mail addresses (as single comma-delimited string)
Supported API: trueMethods inherited from interface wt.jmx.core.mbeans.SelfEmailingMBean
emailThisMBean
-
Method Details
-
getName
String getName()Name of e-mail list
Supported API: true -
getAddresses
String[] getAddresses()List of e-mail addresses (as array)
Supported API: true -
getAddressList
String getAddressList()List of e-mail addresses (as single comma-delimited string)
Supported API: true -
setAddressList
List of e-mail addresses (as single comma-delimited string)
Supported API: true- Throws:
IllegalArgumentException
-
addAddresses
Add one or more e-mail addresses to list
Supported API: true- Parameters:
addressesToAdd- Comma-delimited list of e-mail addresses to add- Throws:
IllegalArgumentException
-
removeAddresses
@MBeanOperationImpact(1) void removeAddresses(String addressesToRemove) throws IllegalArgumentException Remove one or more e-mail addresses from list
Supported API: true- Parameters:
addressesToRemove- Comma-delimited list of e-mail addresses to remove- Throws:
IllegalArgumentException
-
remove
Remove this e-mail list
Supported API: true
-