Class: Azkaban::JavaJob

Inherits:
JobFile show all
Defined in:
lib/azkaban-rb/tasks.rb

Instance Attribute Summary

Attributes inherited from JobFile

#read_locks, #task, #write_locks

Instance Method Summary collapse

Methods inherited from JobFile

#reads, #set, #write, #writes

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