Class: Azkaban::JavaJob
Instance Attribute Summary
Attributes inherited from JobFile
#read_locks, #task, #write_locks
Instance Method Summary collapse
-
#initialize(task, ext) ⇒ JavaJob
constructor
A new instance of JavaJob.
- #uses(name) ⇒ Object
Methods inherited from JobFile
Constructor Details
#initialize(task, ext) ⇒ JavaJob
Returns a new instance of JavaJob.
154 155 156 157 |
# File 'lib/azkaban-rb/tasks.rb', line 154 def initialize(task, ext) super(task,ext) set "type"=>"java" end |
Instance Method Details
#uses(name) ⇒ Object
159 160 161 |
# File 'lib/azkaban-rb/tasks.rb', line 159 def uses(name) set "job.class"=>name end |