Class: Smith::Workflow::OrchestratorWorker::OrchestrationState

Inherits:
Struct
  • Object
show all
Defined in:
lib/smith/workflow/orchestrator_worker.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(config, prepared_input) ⇒ OrchestrationState

Returns a new instance of OrchestrationState.



12
13
14
# File 'lib/smith/workflow/orchestrator_worker.rb', line 12

def initialize(config, prepared_input)
  super(config, prepared_input, nil, nil, nil)
end

Instance Attribute Details

#configObject

Returns the value of attribute config

Returns:

  • (Object)

    the current value of config



9
10
11
# File 'lib/smith/workflow/orchestrator_worker.rb', line 9

def config
  @config
end

#orchestrator_classObject

Returns the value of attribute orchestrator_class

Returns:

  • (Object)

    the current value of orchestrator_class



9
10
11
# File 'lib/smith/workflow/orchestrator_worker.rb', line 9

def orchestrator_class
  @orchestrator_class
end

#prepared_inputObject

Returns the value of attribute prepared_input

Returns:

  • (Object)

    the current value of prepared_input



9
10
11
# File 'lib/smith/workflow/orchestrator_worker.rb', line 9

def prepared_input
  @prepared_input
end

#worker_classObject

Returns the value of attribute worker_class

Returns:

  • (Object)

    the current value of worker_class



9
10
11
# File 'lib/smith/workflow/orchestrator_worker.rb', line 9

def worker_class
  @worker_class
end

#worker_resultsObject

Returns the value of attribute worker_results

Returns:

  • (Object)

    the current value of worker_results



9
10
11
# File 'lib/smith/workflow/orchestrator_worker.rb', line 9

def worker_results
  @worker_results
end