Class: Fairy::CThere

Inherits:
CInput show all
Defined in:
lib/fairy/master/c-there.rb

Instance Method Summary collapse

Methods inherited from CInput

#output=

Methods inherited from CFilter

#abort_create_node, #add_node, #assgin_number_of_nodes?, #bind_export, #break_create_node, #break_running, #create_and_add_node, #create_import, #create_node, #create_nodes, #def_job_pool_variable, #each_assigned_filter, #each_export_by, #each_node, #each_node_exist_only, #handle_exception, #job_pool_dict, #job_pool_variable, #nodes, #number_of_nodes, #number_of_nodes=, #pool_dict, #postmapping_policy, #start_create_nodes, #start_export, #start_watch_node_status, #update_status, watch_status, watch_status=, #watch_status?

Constructor Details

#initialize(controller, opts, enumerable) ⇒ CThere

Returns a new instance of CThere.



12
13
14
15
# File 'lib/fairy/master/c-there.rb', line 12

def initialize(controller, opts, enumerable)
  super
  @enumerable = enumerable
end

Instance Method Details

#inputObject



31
32
33
# File 'lib/fairy/master/c-there.rb', line 31

def input
  @cthere_place
end

#njob_creation_paramsObject



21
22
23
24
# File 'lib/fairy/master/c-there.rb', line 21

def njob_creation_params
#      [@enumerable]
  []
end

#node_class_nameObject



17
18
19
# File 'lib/fairy/master/c-there.rb', line 17

def node_class_name
  "PThere"
end

#startObject



26
27
28
29
# File 'lib/fairy/master/c-there.rb', line 26

def start
  @cthere_place = CTherePlace.new(@enumerable)
  start_create_nodes
end