public class EmailAlert extends Object
| Constructor and Description |
|---|
EmailAlert(String address)
Creates an instance of the EmailAlert class with the provided email address.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAddress()
Returns the email address to which alerts should be delivered.
|
void |
setAddress(String address)
Sets the email address to which alerts should be delivered.
|
String |
toString() |
public EmailAlert(String address)
address - an email addressCopyright © 2022. All rights reserved.