Class: Trailblazer::Activity::Schema::Intermediate

Inherits:
Struct
  • Object
show all
Defined in:
lib/trailblazer/activity/schema/intermediate.rb,
lib/trailblazer/activity/schema/compiler.rb

Overview

An Intermediate structure defines the structure of the circuit. It usually comes from a DSL or a visual editor.

Defined Under Namespace

Modules: Compiler Classes: Out, TaskRef

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#start_task_idObject

Returns the value of attribute start_task_id

Returns:

  • (Object)

    the current value of start_task_id



6
7
8
# File 'lib/trailblazer/activity/schema/intermediate.rb', line 6

def start_task_id
  @start_task_id
end

#stop_task_idsObject

Returns the value of attribute stop_task_ids

Returns:

  • (Object)

    the current value of stop_task_ids



6
7
8
# File 'lib/trailblazer/activity/schema/intermediate.rb', line 6

def stop_task_ids
  @stop_task_ids
end

#wiringObject

Returns the value of attribute wiring

Returns:

  • (Object)

    the current value of wiring



6
7
8
# File 'lib/trailblazer/activity/schema/intermediate.rb', line 6

def wiring
  @wiring
end

Class Method Details

.Out(*args) ⇒ Object



14
15
16
# File 'lib/trailblazer/activity/schema/intermediate.rb', line 14

def self.Out(*args)
  Out.new(*args)
end

.TaskRef(id, data = {}) ⇒ Object



10
11
12
# File 'lib/trailblazer/activity/schema/intermediate.rb', line 10

def self.TaskRef(id, data = {})
  TaskRef.new(id, data)
end