Class: Azkaban::JavaProcessJob

Inherits:
JobFile
  • Object
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) ⇒ JavaProcessJob

Returns a new instance of JavaProcessJob.



165
166
167
168
# File 'lib/azkaban-rb/tasks.rb', line 165

def initialize(task, ext)
  super(task,ext)
  set "type"=>"java"
end

Instance Method Details

#uses(name) ⇒ Object



170
171
172
# File 'lib/azkaban-rb/tasks.rb', line 170

def uses(name)
  set "java.class"=>name
end