summaryrefslogtreecommitdiff
path: root/lib/custodian/alertfactory.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/custodian/alertfactory.rb')
-rw-r--r--lib/custodian/alertfactory.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/custodian/alertfactory.rb b/lib/custodian/alertfactory.rb
index 74f6f3c..e176f6d 100644
--- a/lib/custodian/alertfactory.rb
+++ b/lib/custodian/alertfactory.rb
@@ -15,6 +15,10 @@ module Custodian
class AlertFactory
+ #
+ # The target for the alert.
+ #
+ attr_reader :target
#
# The subclasses we have.
@@ -69,6 +73,15 @@ module Custodian
+ #
+ # Set the target for this alert.
+ #
+ def set_target( target )
+ @target = target
+ end
+
+
+
def raise
puts "NOP"
end
@@ -78,6 +91,8 @@ module Custodian
def clear
puts "NOP"
end
+
+
end
end