Class: Azkaban::CommandJob
Instance Attribute Summary
Attributes inherited from JobFile
#read_locks, #task, #write_locks
Instance Method Summary collapse
-
#initialize(task, ext) ⇒ CommandJob
constructor
A new instance of CommandJob.
- #uses(text) ⇒ Object
Methods inherited from JobFile
Constructor Details
#initialize(task, ext) ⇒ CommandJob
Returns a new instance of CommandJob.
176 177 178 179 |
# File 'lib/azkaban-rb/tasks.rb', line 176 def initialize(task, ext) super(task,ext) set "type"=>"command" end |
Instance Method Details
#uses(text) ⇒ Object
181 182 183 |
# File 'lib/azkaban-rb/tasks.rb', line 181 def uses(text) set "command"=>text end |