Class: Hatchet::Features::TaskMetrics

Inherits:
Struct
  • Object
show all
Defined in:
lib/hatchet/features/metrics.rb

Overview

Simple struct for task metrics grouped by status

Instance Attribute Summary collapse

Instance Attribute Details

#cancelledObject

Returns the value of attribute cancelled

Returns:

  • (Object)

    the current value of cancelled



8
9
10
# File 'lib/hatchet/features/metrics.rb', line 8

def cancelled
  @cancelled
end

#completedObject

Returns the value of attribute completed

Returns:

  • (Object)

    the current value of completed



8
9
10
# File 'lib/hatchet/features/metrics.rb', line 8

def completed
  @completed
end

#failedObject

Returns the value of attribute failed

Returns:

  • (Object)

    the current value of failed



8
9
10
# File 'lib/hatchet/features/metrics.rb', line 8

def failed
  @failed
end

#queuedObject

Returns the value of attribute queued

Returns:

  • (Object)

    the current value of queued



8
9
10
# File 'lib/hatchet/features/metrics.rb', line 8

def queued
  @queued
end

#runningObject

Returns the value of attribute running

Returns:

  • (Object)

    the current value of running



8
9
10
# File 'lib/hatchet/features/metrics.rb', line 8

def running
  @running
end