Class: Broken
- Inherits:
-
QuartzPlugin
- Object
- QuartzPlugin
- Broken
- Defined in:
- lib/plugins/broken.rb
Constant Summary collapse
- @@version_major =
0
- @@version_minor =
0
- @@version_revision =
1
Instance Method Summary collapse
Methods inherited from QuartzPlugin
#get_version, #initialize, #payload, #run_result, #run_shell
Constructor Details
This class inherits a constructor from QuartzPlugin
Instance Method Details
#info ⇒ Object
9 10 11 |
# File 'lib/plugins/broken.rb', line 9 def info { :uid => "04165a45fde840a9a17b41f019b3dca3", :name => "Broken", :version => get_version } end |
#run(message) ⇒ Object
13 14 15 16 17 18 |
# File 'lib/plugins/broken.rb', line 13 def run() @log.info "Running with #{}" @log.info "This is a failure" run_result(false, "Boo! It's broken") end |