Constructor and Description |
---|
FakePagerDuty() |
FakePagerDuty(Random random) |
Modifier and Type | Method and Description |
---|---|
void |
clearIncidents()
Clear open and closed incidents.
|
Map<String,String> |
closedIncidents()
A snapshot of the current closed incidents and their descriptions.
|
NotifyResult |
notify(Resolution resolution)
Send an incident resolution notification to PagerDuty.
|
NotifyResult |
notify(Trigger trigger)
Send an incident trigger notification to PagerDuty.
|
Map<String,String> |
openIncidents()
A snapshot of the current open incidents and their descriptions.
|
public FakePagerDuty()
public FakePagerDuty(Random random)
public NotifyResult notify(Trigger trigger)
PagerDuty
public NotifyResult notify(Resolution resolution)
PagerDuty
public Map<String,String> openIncidents()
public Map<String,String> closedIncidents()
public void clearIncidents()
Copyright © 2014 Square, Inc.. All Rights Reserved.