public class SlackAlert extends Object
Currently, Nightfall supports delivering alerts to public channels, formatted like "#general".
| Constructor and Description |
|---|
SlackAlert(String target)
Creates an instance of the SlackAlert class with the provided conversation name.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getTarget()
Returns the target conversation to which alerts should be delivered.
|
void |
setTarget(String target)
Sets the target conversation to which alerts should be delivered.
|
String |
toString() |
public SlackAlert(String target)
target - a Slack conversation name.public String getTarget()
public void setTarget(String target)
target - the name of the target conversationCopyright © 2022. All rights reserved.