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, #uses_arg, #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.



184
185
186
187
# File 'lib/azkaban-rb/tasks.rb', line 184

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

Instance Method Details

#uses(name) ⇒ Object



189
190
191
192
# File 'lib/azkaban-rb/tasks.rb', line 189

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