aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorTom <tom@ritter.vg>2016-12-28 13:59:43 -0600
committerTom Ritter <tom@ritter.vg>2016-12-28 14:37:55 -0600
commit3e85f1d0d48f0fb65a83af6ce3fb4b6a08f0bb1a (patch)
tree43367c6c5c98bf31759e576bcf43efabd4772e57 /README.md
parent50111ca74eaa5b14253814a9aa39e35b40480935 (diff)
Create an option that lets you require two failures before alerting.
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index adaeff2..3be415d 100644
--- a/README.md
+++ b/README.md
@@ -35,6 +35,8 @@ JobBase is the base for a job, and should be used when you have a single, custom
* This should return a JobFrequency constant indicating how often you want the job to run
* notifyOnFailureEvery
* This should return a JobFailureNotificationFrequency constant indicating how often you want to be notified about a (continually) failing job
+* numberFailuresBeforeNotification
+ * This should return a JobFailureCountMinimumBeforeNotification constant indicating how many failures should occur in a row before notifying on failure
* execute
* This does the work. It returns True if the job succeeded or False if it didn't
* onFailure