Class: Aidp::Execute::WorkLoopUnitScheduler::Unit

Inherits:
Struct
  • Object
show all
Defined in:
lib/aidp/execute/work_loop_unit_scheduler.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#definitionObject

Returns the value of attribute definition

Returns:

  • (Object)

    the current value of definition



10
11
12
# File 'lib/aidp/execute/work_loop_unit_scheduler.rb', line 10

def definition
  @definition
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



10
11
12
# File 'lib/aidp/execute/work_loop_unit_scheduler.rb', line 10

def name
  @name
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



10
11
12
# File 'lib/aidp/execute/work_loop_unit_scheduler.rb', line 10

def type
  @type
end

Instance Method Details

#agentic?Boolean

Returns:

  • (Boolean)


11
12
13
# File 'lib/aidp/execute/work_loop_unit_scheduler.rb', line 11

def agentic?
  type == :agentic
end

#deterministic?Boolean

Returns:

  • (Boolean)


15
16
17
# File 'lib/aidp/execute/work_loop_unit_scheduler.rb', line 15

def deterministic?
  type == :deterministic
end